wok-current rev 4211

privoxy: fix FSH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 10:11:31 2009 +0200 (2009-09-24)
parents 2650aaa6a59e
children d563944db906
files privoxy/receipt
line diff
     1.1 --- a/privoxy/receipt	Thu Sep 24 09:59:33 2009 +0200
     1.2 +++ b/privoxy/receipt	Thu Sep 24 10:11:31 2009 +0200
     1.3 @@ -28,6 +28,7 @@
     1.4  		--sysconfdir=/etc/privoxy \
     1.5  		--infodir=/usr/share/info \
     1.6  		--mandir=/usr/share/man \
     1.7 +		--localstatedir=/var \
     1.8  		$CONFIGURE_ARGS &&
     1.9  	make &&
    1.10  	make DESTDIR=$PWD/_pkg install
    1.11 @@ -36,10 +37,8 @@
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	mkdir -p $fs/usr/var $fs/etc/init.d
    1.16 -	cp -a $_pkg/usr/sbin $fs/usr
    1.17 -	cp -a $_pkg/usr/var/* $fs/usr/var
    1.18 -	cp -a $_pkg/etc $fs
    1.19 +	mkdir -p $fs/etc/init.d
    1.20 +	cp -a $_pkg/* $fs/usr
    1.21  
    1.22  	# Copy daemon from /stuff
    1.23  	cp stuff/daemon-privoxy $fs/etc/init.d/privoxy
    1.24 @@ -58,7 +57,7 @@
    1.25  	echo -n "Changing file permissions..."
    1.26  	chown -R root.privoxy /etc/privoxy
    1.27  	chown -R root.root /etc/privoxy/templates
    1.28 -	chown -R root.privoxy /usr/var/log/privoxy
    1.29 +	chown -R root.privoxy /var/log/privoxy
    1.30  	status
    1.31  }
    1.32