wok-current rev 1544
smbwebclient: exit on wget error
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 11 14:07:18 2008 +0000 (2008-10-11) |
parents | 610028bf46e9 |
children | 9c242dc4abaf |
files | smbwebclient/receipt |
line diff
1.1 --- a/smbwebclient/receipt Sat Oct 11 14:06:07 2008 +0000 1.2 +++ b/smbwebclient/receipt Sat Oct 11 14:07:18 2008 +0000 1.3 @@ -13,8 +13,8 @@ 1.4 compile_rules() 1.5 { 1.6 if [ ! -d $src ]; then 1.7 + wget $SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION.php.gz || return 1 1.8 mkdir -p $src 1.9 - wget $SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION.php.gz 1.10 mv $PACKAGE-$VERSION.php.gz $src 1.11 gunzip $src/$PACKAGE-$VERSION.php.gz 1.12 fi