update debian things to perhaps cope with public/

pull/121/head
David Goodwin 7 years ago
parent 99147d51eb
commit 3d63d8b9af

@ -1,6 +1,8 @@
usr/share/postfixadmin
usr/share/postfixadmin/templates_c
usr/share/postfixadmin/scripts
usr/share/postfixadmin/css
usr/share/postfixadmin/public
usr/share/postfixadmin/public/css
usr/share/doc/postfixadmin
var/cache/postfixadmin
usr/bin

@ -1,10 +1,8 @@
*.php usr/share/postfixadmin
css usr/share/postfixadmin
images usr/share/postfixadmin
public usr/share/postfixadmin
languages usr/share/postfixadmin
model usr/share/postfixadmin
templates usr/share/postfixadmin
users usr/share/postfixadmin
smarty usr/share/postfixadmin
configs usr/share/postfixadmin
scripts usr/share/postfixadmin

@ -23,6 +23,9 @@ fi
if [ -d /usr/share/postfixadmin/templates_c ]; then
find /usr/share/postfixadmin/templates_c -type f -exec rm -r {} \;
fi
if [ -d /usr/share/postfixadmin/templates_c ]; then
chown www-data /usr/share/postfixadmin/templates_c
fi
if [ -d /var/cache/postfixadmin ]; then
find /var/cache/postfixadmin -type f -exec rm -r {} \;

Loading…
Cancel
Save