diff --git a/scripts/get b/scripts/get index 76654fe566..e8a7d40202 100755 --- a/scripts/get +++ b/scripts/get @@ -31,13 +31,14 @@ if [ -f $PKG_DIR/url ]; then for i in `sed s%GEEXBOX_SRCS%$GEEXBOX_SRCS% $PKG_DIR/url`; do NBWGET=1 - until wget --passive-ftp -c $WGET_OPT -P $SOURCES/$1 $i; do + until [ -f $STAMPS_NOARCH/$1/`basename $i`.ok ] || wget --passive-ftp -c $WGET_OPT -P $SOURCES/$1 $i; do NBWGET=$(($NBWGET+1)) if [ $NBWGET -gt 10 ]; then echo -e "\nCant't get $1 sources : $i\n Try later !!" exit 1 fi done + touch $STAMPS_NOARCH/$1/`basename $i`.ok done cp -p $PKG_DIR/url $STAMP