TAG_PRIORITY=on was impacting also slackpkg install. Fixed

This commit is contained in:
Matteo Rossini 2015-11-20 19:32:19 +01:00
parent 60e11fa385
commit e2777e0260

View file

@ -366,14 +366,16 @@ if [ "$SLACKPKGPLUS" = "on" ];then
unset PKGDATA
AUTOP=no
if [ ! -z "$AUTOPRIORITY" ];then
if echo "$ARGUMENT"|grep -wq $AUTOPRIORITY;then
if [[ "$CMD" == "upgrade" || "$CMD" == "upgrade-all" ]];then
if [ ! -z "$AUTOPRIORITY" ];then
if echo "$ARGUMENT"|grep -wq $AUTOPRIORITY;then
AUTOP=$TAG_PRIORITY
fi
fi
if [ "$CMD" == "upgrade-all" ];then
AUTOP=$TAG_PRIORITY
fi
fi
if [ "$CMD" == "upgrade-all" ];then
AUTOP=$TAG_PRIORITY
fi
if [ "$AUTOP" == "on" ] ; then
PKGINFOS=$(
cd /var/log/packages