mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 03:50:33 +03:00
sbopkg: Fix for multiple blacklist.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
parent
e61582cd97
commit
40979606a8
@ -743,7 +743,7 @@ check_for_updates() {
|
|||||||
# Otherwise, do a normal check for update procedure
|
# Otherwise, do a normal check for update procedure
|
||||||
BLKFILE=$(grep -v "^#" $BLACKLISTFILE | grep -v "^$")
|
BLKFILE=$(grep -v "^#" $BLACKLISTFILE | grep -v "^$")
|
||||||
if [[ ! -z $BLKFILE ]]; then
|
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
|
else
|
||||||
PKGS=$(ls *$REPO_TAG 2> /dev/null)
|
PKGS=$(ls *$REPO_TAG 2> /dev/null)
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user