From 15bab88651f11efdfe2b9d695ba625d86ef7b14e Mon Sep 17 00:00:00 2001 From: Matteo Rossini Date: Tue, 19 Apr 2016 00:02:40 +0200 Subject: [PATCH] Fixed regression in givepriority --- src/slackpkgplus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slackpkgplus.sh b/src/slackpkgplus.sh index bf6d0b6..59024c1 100755 --- a/src/slackpkgplus.sh +++ b/src/slackpkgplus.sh @@ -828,7 +828,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then AUTOP=no if [[ "$CMD" == "upgrade" || "$CMD" == "upgrade-all" ]];then ( cd $ROOT/var/log/packages - ls $ARGUMENT-*-*-* 2>/dev/null|sed 's/$/.txz/' | awk -f /usr/libexec/slackpkg/pkglist.awk|awk '{print $1}'|grep -q " $ARGUMENT " + ls $ARGUMENT-*-*-* 2>/dev/null|sed 's/$/.txz/' | awk -f /usr/libexec/slackpkg/pkglist.awk|grep -q " $ARGUMENT " )||return if [ ! -z "$AUTOPRIORITY" ];then if echo "$ARGUMENT"|grep -wq $AUTOPRIORITY;then