# HG changeset patch # User Pascal Bellard # Date 1318604596 -7200 # Node ID 87785013e5016782f85d2e6bee6776239ebcf94d # Parent 711930d88e82e4f71e13fd5662f875459f55486a get-virtualbox: update error message diff -r 711930d88e82 -r 87785013e501 get-virtualbox/stuff/get-virtualbox --- a/get-virtualbox/stuff/get-virtualbox Fri Oct 14 16:57:10 2011 +0200 +++ b/get-virtualbox/stuff/get-virtualbox Fri Oct 14 17:03:16 2011 +0200 @@ -29,8 +29,11 @@ mkdir -p $TMP_DIR && cd $TMP_DIR url=$(dl_url) -TARBALL=$(basename $url) -wget $url +TARBALL="$PACKAGE files" +if [ -n "$url" ]; then + TARBALL=$(basename $url) + wget $url +fi if [ ! -f "$TARBALL" ]; then cd $CUR_DIR