sbopkg: Fix for multiple blacklist.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
Willy Sudiarto Raharjo 2018-01-17 08:47:39 +07:00
parent e61582cd97
commit 40979606a8
No known key found for this signature in database
GPG Key ID: 887B8374D7333381

View File

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