wok-6.x diff lighttpd/receipt @ rev 15575
Up lighttpd (1.4.33)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 29 08:43:20 2013 +0000 (2013-11-29) |
parents | 2a5cc8208d36 |
children | 02e59bb0cae1 |
line diff
1.1 --- a/lighttpd/receipt Sun Oct 20 22:08:25 2013 +0000 1.2 +++ b/lighttpd/receipt Fri Nov 29 08:43:20 2013 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lighttpd" 1.7 -VERSION="1.4.30" 1.8 +VERSION="1.4.33" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Fast and light HTTP Web server." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -79,17 +79,17 @@ 1.13 echo "Processing pre-install commands..." 1.14 [ -f /etc/init.d/$PACKAGE ] && /etc/init.d/$PACKAGE stop 1.15 # Backup config file. 1.16 - if [ -d $1/$CONFIG_FILES ]; then 1.17 - cp -a $1/$CONFIG_FILES $1/$CONFIG_FILES.bak 1.18 + if [ -d $1/etc/lighttpd ]; then 1.19 + cp -a $1/etc/lighttpd $1/etc/lighttpd.bak 1.20 fi 1.21 } 1.22 post_install() 1.23 { 1.24 echo "Processing post-install commands..." 1.25 # Restore original config. 1.26 - if [ -d $1/$CONFIG_FILES.bak ]; then 1.27 - rm -rf $1/$CONFIG_FILES 1.28 - mv $1/$CONFIG_FILES.bak $1/$CONFIG_FILES 1.29 + if [ -d $1/etc/lighttpd.bak ]; then 1.30 + rm -rf $1/etc/lighttpd 1.31 + mv $1/etc/lighttpd.bak $1/etc/lighttpd 1.32 fi 1.33 # Just in case. 1.34 chown www.www $1/var/log/$PACKAGE