From a4e64f44bf633b20475a7a5b546ca47e91d06b57 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 2 Feb 2006 18:12:21 +0000 Subject: [PATCH] Make easypack check for errors from urlget instead of trying with $TARBZ - - # See if we got the file or an error - if grep "" $TARBZ >/dev/null - then # It is not in the directory of tested software. Try beta dir. + if urlget $URL >$TARBZ + then : + else # It is not in the directory of tested software. Try beta dir. URL=$BETA_DIR/$TARBZ - urlget $URL >$TARBZ - if grep "" $TARBZ >/dev/null || grep "" $TARBZ >/dev/null - then echo Cannot get $i. + if urlget $URL >$TARBZ + then : + else + echo Cannot get $i. echo " " Tried $URL1 echo " " Tried $URL echo " " Skipping this package -- 2.44.0