# HG changeset patch # User Pascal Bellard # Date 1299188138 -3600 # Node ID b1c161e563ffc0e80e818363d2028c35d2e7ee1b # Parent d4f25cefd2ff9d3c1b7c579d0e451ce9df4e1a26 squid-custom-errors: fix genpkg_rules diff -r d4f25cefd2ff -r b1c161e563ff squid-custom-errors/receipt --- a/squid-custom-errors/receipt Thu Mar 03 22:31:11 2011 +0100 +++ b/squid-custom-errors/receipt Thu Mar 03 22:35:38 2011 +0100 @@ -13,6 +13,7 @@ compile_rules() { tar xvzf stuff/$TARBALL + cp -a fr wwwroot $DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -21,7 +22,7 @@ mkdir -p $fs/usr/share/squid/errors \ $fs/var/www - cp -a $PACKAGE-$VERSION/fr $fs/usr/share/squid/errors - cp -a $PACKAGE-$VERSION/wwwroot/* $fs/var/www + cp -a $_pkg/fr $fs/usr/share/squid/errors + cp -a $_pkg/wwwroot/* $fs/var/www }