From 40979606a829338d0c23e709c8124bc226a5ab28 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 17 Jan 2018 08:47:39 +0700 Subject: [PATCH] sbopkg: Fix for multiple blacklist. Signed-off-by: Willy Sudiarto Raharjo --- src/usr/sbin/sbopkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/sbin/sbopkg b/src/usr/sbin/sbopkg index 43f2144..dc69d86 100755 --- a/src/usr/sbin/sbopkg +++ b/src/usr/sbin/sbopkg @@ -743,7 +743,7 @@ check_for_updates() { # Otherwise, do a normal check for update procedure BLKFILE=$(grep -v "^#" $BLACKLISTFILE | grep -v "^$") if [[ ! -z $BLKFILE ]]; then - PKGS=$(ls *$REPO_TAG | grep -v $BLKFILE 2> /dev/null) + PKGS=$(ls *$REPO_TAG | grep -v "$BLKFILE" 2> /dev/null) else PKGS=$(ls *$REPO_TAG 2> /dev/null) fi