From d9308cb57b06e85e3642fe946393c39c71da18f1 Mon Sep 17 00:00:00 2001 From: "chess.griffin" Date: Tue, 23 Sep 2008 18:56:32 +0000 Subject: [PATCH] Add message about deleting source upon MD5SUM fail when using sbopkg in cli with -b option. --- src/usr/bin/sbopkg | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/usr/bin/sbopkg b/src/usr/bin/sbopkg index 4ba68f6..5e2d51e 100755 --- a/src/usr/bin/sbopkg +++ b/src/usr/bin/sbopkg @@ -862,8 +862,8 @@ deleted." 8 30 saved." 8 30 fi else - echo "placeholder" - break + echo "You may wish to delete the downloaded $PKG source in" + echo "$SRCDIR and try the build again." fi } @@ -1199,6 +1199,9 @@ to build packages." while [ -f $TMP/sbopkg_build.lck ]; do tail -f $SBOPKGOUTPUT done + if [ -e $TMP/sbopkg_failcheck ]; then + checksum_fail + fi if [ "$KEEPLOG" = "YES" ]; then cat $SBOPKGOUTPUT >> $TMP/sbopkg-build-log fi