diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-13 05:46:21 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2023-05-13 05:46:21 -0400 |
commit | 94beea1d7eb82ac125eccd2da9e5772ddd73fd9a (patch) | |
tree | d6f7f27aab1da6d1405654203047b78f19f59ad2 /sbodl | |
parent | a7d41216611852b969e30b30c3fe6cd5b46602cf (diff) | |
download | sbo-maintainer-tools-94beea1d7eb82ac125eccd2da9e5772ddd73fd9a.tar.gz |
sbodl: suggest -a option if download fails.
Diffstat (limited to 'sbodl')
-rwxr-xr-x | sbodl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -135,7 +135,7 @@ for dl in $DL; do elif [ "$FORCEDL" != "yes" ] && [ -e "$CACHEDIR/$FILE" ]; then ln -s "$CACHEDIR/$FILE" "$FILE" else - wget $EXTRAWGETARGS $WGETARGS "$dl" || die "Download failed" + wget $EXTRAWGETARGS $WGETARGS "$dl" || die "Download failed, try '$SELF -a'." if [ -e "$FILE" ]; then mv -b "$FILE" "$CACHEDIR" ln -s "$CACHEDIR/$FILE" "$FILE" @@ -150,7 +150,7 @@ for dl in $DL; do echo -e "${GREEN}md5sum matches OK${COLOR_OFF}: $1" fi else - echo -e "${RED}WARN${COLOR_OFF}: can't find downloaded file $FILE" + echo -e "${RED}WARN${COLOR_OFF}: can't find downloaded file $FILE, try '$SELF -a'?" fi shift done |