From b9bb89b243853c49f888486bd95cf1c377c73121 Mon Sep 17 00:00:00 2001 From: "chess.griffin" Date: Tue, 2 Sep 2008 00:46:54 +0000 Subject: [PATCH] add in fixes for hugin and lame; thanks to Erik Hanson for the bug reports --- src/usr/bin/sbopkg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/usr/bin/sbopkg b/src/usr/bin/sbopkg index 7fe7a56..bcc4bad 100755 --- a/src/usr/bin/sbopkg +++ b/src/usr/bin/sbopkg @@ -278,9 +278,9 @@ potential updates..." >> $UPDATELIST NAME=$OLDNAME PRGNAM="$PRGNAM$(egrep -m1 "^FONTLANG" $NEWSB | sed -e 's/[ #}\t].*$//;s/^.*://;s/_/-/g')" fi - # Ugly hack for ctorrent, argtable, libevent, - # ubuntulooks, and graveman - if [[ "$PRGNAM" == "ctorrent" || "$PRGNAM" == "argtable" || "$PRGNAM" == "libevent" || "$PRGNAM" == "ubuntulooks" || "$PRGNAM" == "graveman" ]]; then + # Ugly hack for several SlackBuilds that use $SRCVER but not in + # the final package name, so we need to blank out $NEWSRCVER + if [[ "$PRGNAM" == "ctorrent" || "$PRGNAM" == "argtable" || "$PRGNAM" == "libevent" || "$PRGNAM" == "ubuntulooks" || "$PRGNAM" == "graveman" || "$PRGNAM" == "hugin" || "$PRGNAM" == "lame" ]]; then NEWSRCVER="" fi CURPKG=$(echo $NAME-$VER-$ARCH-$BUILD)