more debian packaging fixes

This commit is contained in:
SJ
2013-10-13 22:29:45 +02:00
parent 5a695640eb
commit 3ad6c3bc66
4 changed files with 11 additions and 2 deletions

View File

@ -365,6 +365,13 @@ execute_post_install_tasks() {
chmod 755 $LOCALSTATEDIR/piler/stat
if [ -d webui ]; then webui_install; fi
}
webui_install() {
echo -n "Copying www files to $DOCROOT... "
mkdir -p $DOCROOT || exit 1
@ -409,7 +416,6 @@ execute_post_install_tasks() {
echo "?>" >> $DOCROOT/config-site.php
echo "Done."
}