advanced package installation and removal

This commit is contained in:
lars 2005-05-18 16:45:53 +00:00
parent 63afdb8052
commit 2b10c9a7c0
7 changed files with 29 additions and 4 deletions

7
web-splash/ipkg/preinst Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
if [ -e /www/index.html ]
then echo
echo "Renaming /www/index.html to /www/index.html.orig"
mv /www/index.html /www/index.html.orig
fi