1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-08-09 05:02:44 +03:00

update debian things to perhaps cope with public/

This commit is contained in:
David Goodwin
2018-01-25 20:32:15 +00:00
parent 99147d51eb
commit 3d63d8b9af
3 changed files with 7 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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 {} \;