diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2013-01-13 13:20:52 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-01-13 13:20:52 -0600 |
commit | 4d0483f0ceeaf031ea84a18e4c4ecbdc3a0c51af (patch) | |
tree | 15e6966dd1b6dad62fbd58e6a7f1e13ba02460af /network/lighttpd2/doinst.sh | |
parent | 030614f6b0430aa4b433019e9ddc973c482e806c (diff) |
network/lighttpd2: Updated for version 20121206_01abf70.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/lighttpd2/doinst.sh')
-rw-r--r-- | network/lighttpd2/doinst.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/network/lighttpd2/doinst.sh b/network/lighttpd2/doinst.sh index 58590b923f210..a2bfef20764df 100644 --- a/network/lighttpd2/doinst.sh +++ b/network/lighttpd2/doinst.sh @@ -22,15 +22,16 @@ preserve_perms() { config etc/lighttpd2/lighttpd.conf.new config etc/lighttpd2/angel.conf.new config etc/lighttpd2/mimetypes.conf.new +config etc/lighttpd2/php-fpm.lua.new config etc/logrotate.d/lighttpd2.new preserve_perms etc/rc.d/rc.lighttpd2.new -preserve_perms etc/rc.d/rc.spawn-fcgi.new -# Create dummy logfiles, but throw them away if logfiles are already here: +# Create dummy logfiles, but throw them away if some are already here: for i in access error ; do - if [ -e var/log/lighttpd2/${i}.log ]; then - rm -f var/log/lighttpd2/${i}.log.new + if [ -e var/log/lighttpd2/$i.log ]; then + rm -f var/log/lighttpd2/$i.log.new else - mv var/log/lighttpd2/${i}.log{.new,} + mv var/log/lighttpd2/$i.log.new \ + var/log/lighttpd2/$i.log fi done |