Mercurial > hg > aboriginal
diff sources/functions.sh @ 647:6886c9fcb89b
Add download RENAME support and make squashfs use it to give a packagename-version filename like all the others.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 24 Mar 2009 17:01:41 -0500 |
parents | 4db8fc1ea338 |
children | 1fa9eb882e3b |
line wrap: on
line diff
--- a/sources/functions.sh Tue Mar 24 16:19:00 2009 -0500 +++ b/sources/functions.sh Tue Mar 24 17:01:41 2009 -0500 @@ -193,6 +193,10 @@ FILENAME=`echo "$URL" | sed 's .*/ '` ALTFILENAME=alt-"$(noversion "$FILENAME" -0)" + # Handle RENAME support + + [ -z "$RENAME" ] || FILENAME="$(echo "$FILENAME" | sed -r "$RENAME")" + echo -ne "checking $FILENAME\r" # Is the unstable version selected?