diff -r 320862b2d6f1 -r da8af0237e78 scripts/functions --- a/scripts/functions Sat Jul 19 22:45:17 2008 +0000 +++ b/scripts/functions Fri Jul 25 09:52:52 2008 +0000 @@ -334,9 +334,10 @@ local file="$1" local first_ext="" shift + # If next argument starts with a dot, then this is not an URL, + # and we can consider that it is a preferred extension. case "$1" in - .tar.bz2|.tar.gz|.tgz|.tar) - first_ext="$1" + .*) first_ext="$1" shift ;; esac