change KEEPLOG test to fit other similar tests

This commit is contained in:
chess.griffin 2009-05-25 04:36:57 +00:00
parent ec2663e653
commit f80edb7aef

View file

@ -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