wok rev 9032

squid-custom-errors: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 22:35:38 2011 +0100 (2011-03-03)
parents d4f25cefd2ff
children 47623f40305b
files squid-custom-errors/receipt
line diff
     1.1 --- a/squid-custom-errors/receipt	Thu Mar 03 22:31:11 2011 +0100
     1.2 +++ b/squid-custom-errors/receipt	Thu Mar 03 22:35:38 2011 +0100
     1.3 @@ -13,6 +13,7 @@
     1.4  compile_rules()
     1.5  {
     1.6  	tar xvzf stuff/$TARBALL 
     1.7 +	cp -a fr wwwroot $DESTDIR
     1.8  }
     1.9  
    1.10  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.11 @@ -21,7 +22,7 @@
    1.12  	mkdir -p $fs/usr/share/squid/errors \
    1.13  		$fs/var/www
    1.14  		
    1.15 -	cp -a $PACKAGE-$VERSION/fr $fs/usr/share/squid/errors
    1.16 -	cp -a $PACKAGE-$VERSION/wwwroot/* $fs/var/www
    1.17 +	cp -a $_pkg/fr $fs/usr/share/squid/errors
    1.18 +	cp -a $_pkg/wwwroot/* $fs/var/www
    1.19  }
    1.20