# HG changeset patch # User Pascal Bellard # Date 1385714600 0 # Node ID 8dc8078682253fc88fcf5d57d672764e466a20ea # Parent b96c11f50ce855d007c093d9dbae89af2a74676b Up lighttpd (1.4.33) diff -r b96c11f50ce8 -r 8dc807868225 lighttpd-modules/receipt --- a/lighttpd-modules/receipt Fri Nov 29 08:13:21 2013 +0000 +++ b/lighttpd-modules/receipt Fri Nov 29 08:43:20 2013 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="lighttpd-modules" -VERSION="1.4.30" +VERSION="1.4.33" CATEGORY="network" SHORT_DESC="Complementary modules for LightTPD Web server." MAINTAINER="pankso@slitaz.org" diff -r b96c11f50ce8 -r 8dc807868225 lighttpd/receipt --- a/lighttpd/receipt Fri Nov 29 08:13:21 2013 +0000 +++ b/lighttpd/receipt Fri Nov 29 08:43:20 2013 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="lighttpd" -VERSION="1.4.30" +VERSION="1.4.33" CATEGORY="network" SHORT_DESC="Fast and light HTTP Web server." MAINTAINER="pankso@slitaz.org" @@ -79,17 +79,17 @@ echo "Processing pre-install commands..." [ -f /etc/init.d/$PACKAGE ] && /etc/init.d/$PACKAGE stop # Backup config file. - if [ -d $1/$CONFIG_FILES ]; then - cp -a $1/$CONFIG_FILES $1/$CONFIG_FILES.bak + if [ -d $1/etc/lighttpd ]; then + cp -a $1/etc/lighttpd $1/etc/lighttpd.bak fi } post_install() { echo "Processing post-install commands..." # Restore original config. - if [ -d $1/$CONFIG_FILES.bak ]; then - rm -rf $1/$CONFIG_FILES - mv $1/$CONFIG_FILES.bak $1/$CONFIG_FILES + if [ -d $1/etc/lighttpd.bak ]; then + rm -rf $1/etc/lighttpd + mv $1/etc/lighttpd.bak $1/etc/lighttpd fi # Just in case. chown www.www $1/var/log/$PACKAGE