From f80edb7aef4d399aa03501930f6b997404eb2109 Mon Sep 17 00:00:00 2001 From: "chess.griffin" Date: Mon, 25 May 2009 04:36:57 +0000 Subject: [PATCH] change KEEPLOG test to fit other similar tests --- src/usr/sbin/sbopkg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/usr/sbin/sbopkg b/src/usr/sbin/sbopkg index 9138631..fd99b72 100755 --- a/src/usr/sbin/sbopkg +++ b/src/usr/sbin/sbopkg @@ -97,8 +97,7 @@ config_check() { [[ -e $SBOPKG_CONF ]] && . $SBOPKG_CONF [[ -e $HOME/.sbopkg.conf ]] && . $HOME/.sbopkg.conf - KEEPLOG=$(echo "$KEEPLOG" | tr "[:lower:]" "[:upper:]") - if [[ $KEEPLOG == YES ]]; then + if [[ $KEEPLOG == [Yy][Ee][Ss] ]]; then KEEPLOG=1 else unset KEEPLOG @@ -1003,8 +1002,10 @@ info_item() { BUILD="$(echo $STRING | cut -f $INDEX -d -)" if [[ $SHORTAPP == $APP ]]; then + #INSTALLEDPACKAGE=$NAME-$VER-$INST_ARCH-$BUILD INSTALLEDPACKAGE=$NAME-$VER-$INST_ARCH-$BUILD else # Must be a renamed app + #RENAMEDPACKAGE=$NAME-$VER-$INST_ARCH-$BUILD RENAMEDPACKAGE=$NAME-$VER-$INST_ARCH-$BUILD fi fi