mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-29 10:24:11 +01:00
change KEEPLOG test to fit other similar tests
This commit is contained in:
parent
ec2663e653
commit
f80edb7aef
1 changed files with 3 additions and 2 deletions
|
@ -97,8 +97,7 @@ config_check() {
|
||||||
[[ -e $SBOPKG_CONF ]] && . $SBOPKG_CONF
|
[[ -e $SBOPKG_CONF ]] && . $SBOPKG_CONF
|
||||||
[[ -e $HOME/.sbopkg.conf ]] && . $HOME/.sbopkg.conf
|
[[ -e $HOME/.sbopkg.conf ]] && . $HOME/.sbopkg.conf
|
||||||
|
|
||||||
KEEPLOG=$(echo "$KEEPLOG" | tr "[:lower:]" "[:upper:]")
|
if [[ $KEEPLOG == [Yy][Ee][Ss] ]]; then
|
||||||
if [[ $KEEPLOG == YES ]]; then
|
|
||||||
KEEPLOG=1
|
KEEPLOG=1
|
||||||
else
|
else
|
||||||
unset KEEPLOG
|
unset KEEPLOG
|
||||||
|
@ -1003,8 +1002,10 @@ info_item() {
|
||||||
BUILD="$(echo $STRING | cut -f $INDEX -d -)"
|
BUILD="$(echo $STRING | cut -f $INDEX -d -)"
|
||||||
|
|
||||||
if [[ $SHORTAPP == $APP ]]; then
|
if [[ $SHORTAPP == $APP ]]; then
|
||||||
|
#INSTALLEDPACKAGE=$NAME-$VER-$INST_ARCH-$BUILD
|
||||||
INSTALLEDPACKAGE=$NAME-$VER-$INST_ARCH-$BUILD
|
INSTALLEDPACKAGE=$NAME-$VER-$INST_ARCH-$BUILD
|
||||||
else # Must be a renamed app
|
else # Must be a renamed app
|
||||||
|
#RENAMEDPACKAGE=$NAME-$VER-$INST_ARCH-$BUILD
|
||||||
RENAMEDPACKAGE=$NAME-$VER-$INST_ARCH-$BUILD
|
RENAMEDPACKAGE=$NAME-$VER-$INST_ARCH-$BUILD
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue