comparison sources/download_functions.sh @ 1540:90e6bdb0204b

Fix display when using an unbacked package cache entry.
author Rob Landley <rob@landley.net>
date Tue, 04 Sep 2012 16:36:16 -0500
parents 63d3f491b92f
children c3b91b70cc42
comparison
equal deleted inserted replaced
1539:8bd6056bd7fa 1540:90e6bdb0204b
218 if is_in_list "$BASENAME" $USE_ALT 218 if is_in_list "$BASENAME" $USE_ALT
219 then 219 then
220 # If extracted source directory exists, don't download alt-tarball. 220 # If extracted source directory exists, don't download alt-tarball.
221 if [ -e "$SRCTREE/alt-$BASENAME" ] 221 if [ -e "$SRCTREE/alt-$BASENAME" ]
222 then 222 then
223 echo "Using $SRCTREE/$PACKAGE" 223 echo "Using $SRCTREE/alt-$BASENAME"
224 return 0 224 return 0
225 fi 225 fi
226 226
227 # Download new one as alt-packagename.tar.ext 227 # Download new one as alt-packagename.tar.ext
228 FILENAME="$ALTFILENAME" 228 FILENAME="$ALTFILENAME"