wok diff get-upx/stuff/get-upx @ rev 4075

Add: libupnp (The portable Universal Plug and Play)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Sep 13 23:57:55 2009 +0200 (2009-09-13)
parents a85ffe1b42a5
children 007b91d3da0b
line diff
     1.1 --- a/get-upx/stuff/get-upx	Wed Nov 26 11:51:02 2008 +0000
     1.2 +++ b/get-upx/stuff/get-upx	Sun Sep 13 23:57:55 2009 +0200
     1.3 @@ -25,6 +25,12 @@
     1.4  
     1.5  # Download tarball
     1.6  wget $WGET_URL
     1.7 +if [ ! -f $TARBALL ]; then
     1.8 +	cd $BASE
     1.9 +	rm -rf $DIR
    1.10 +	echo "Could not download $TARBALL. Exiting."
    1.11 +	exit 1
    1.12 +fi
    1.13  
    1.14  # Extract
    1.15  tar xjf $TARBALL