wok-6.x 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 b96c11f50ce8
children 02e59bb0cae1
files lighttpd-modules/receipt lighttpd/receipt
line diff
     1.1 --- a/lighttpd-modules/receipt	Fri Nov 29 08:13:21 2013 +0000
     1.2 +++ b/lighttpd-modules/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-modules"
     1.7 -VERSION="1.4.30"
     1.8 +VERSION="1.4.33"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Complementary modules for LightTPD Web server."
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/lighttpd/receipt	Fri Nov 29 08:13:21 2013 +0000
     2.2 +++ b/lighttpd/receipt	Fri Nov 29 08:43:20 2013 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="lighttpd"
     2.7 -VERSION="1.4.30"
     2.8 +VERSION="1.4.33"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Fast and light HTTP Web server."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -79,17 +79,17 @@
    2.13  	echo "Processing pre-install commands..."
    2.14  	[ -f /etc/init.d/$PACKAGE ] && /etc/init.d/$PACKAGE stop
    2.15  	# Backup config file.
    2.16 -	if [ -d $1/$CONFIG_FILES ]; then
    2.17 -		cp -a $1/$CONFIG_FILES $1/$CONFIG_FILES.bak
    2.18 +	if [ -d $1/etc/lighttpd ]; then
    2.19 +		cp -a $1/etc/lighttpd $1/etc/lighttpd.bak
    2.20  	fi
    2.21  }
    2.22  post_install()
    2.23  {
    2.24  	echo "Processing post-install commands..."
    2.25  	# Restore original config.
    2.26 -	if [ -d $1/$CONFIG_FILES.bak ]; then
    2.27 -		rm -rf $1/$CONFIG_FILES
    2.28 -		mv $1/$CONFIG_FILES.bak $1/$CONFIG_FILES
    2.29 +	if [ -d $1/etc/lighttpd.bak ]; then
    2.30 +		rm -rf $1/etc/lighttpd
    2.31 +		mv $1/etc/lighttpd.bak $1/etc/lighttpd
    2.32  	fi
    2.33  	# Just in case.
    2.34  	chown www.www $1/var/log/$PACKAGE