summaryrefslogtreecommitdiffstats
path: root/files/core-functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'files/core-functions.sh')
-rw-r--r--files/core-functions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/core-functions.sh b/files/core-functions.sh
index 9816458..e29da44 100644
--- a/files/core-functions.sh
+++ b/files/core-functions.sh
@@ -1219,9 +1219,10 @@ function sanity_check() {
batchcutpkg | sort > $TMPDIR/list1
cat $TMPDIR/list1 | uniq > $TMPDIR/list2
FILES="$(diff $TMPDIR/list1 $TMPDIR/list2 | grep '<' | cut -f2 -d\ )"
+
if [ "$FILES" != "" ]; then
for i in $FILES ; do
- grep -qx "${i}" ${CONF}/blacklist && continue
+ echo "${i}" | grep -qE -f ${ROOT}/${CONF}/blacklist && continue
DOUBLEFILES="$DOUBLEFILES $i"
done
unset FILES