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 | |
parent | a7d41216611852b969e30b30c3fe6cd5b46602cf (diff) | |
download | sbo-maintainer-tools-94beea1d7eb82ac125eccd2da9e5772ddd73fd9a.tar.gz |
sbodl: suggest -a option if download fails.
-rw-r--r-- | README | 11 | ||||
-rwxr-xr-x | sbodl | 4 |
2 files changed, 9 insertions, 6 deletions
@@ -19,6 +19,9 @@ Included tools: - sbofixinfo: attempts to automatically fix common .info file problems. +- sbodl: download source files listed in DOWNLOAD and DOWNLOAD_x86_64 + in the .info file, and check the md5sums. + Note that the SBo admins use these tools as part of the approval process, when you submit an update. Failure to pass the lint checks is a valid reason for rejecting your submission, so you should either @@ -68,7 +71,7 @@ admins and explain the situation; it may mean sbolint needs updating. Documentation: -------------- -For more information, see the sbolint, sbopkglint, and sbofixinfo man -pages (or run the scripts with --doc; it's the same thing). There's -also a QUICKSTART file that gives the bare minimum info to get -started. +For more information, see the sbolint, sbopkglint, sbofixinfo, +and sbodl man pages (or run the scripts with --doc; it's the same +thing). There's also a QUICKSTART file that gives the bare minimum +info to get started. @@ -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 |