diff options
Diffstat (limited to 'src/librecheck/check-pkgbuild')
-rwxr-xr-x | src/librecheck/check-pkgbuild/libre-blacklist | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/librecheck/check-pkgbuild/libre-blacklist b/src/librecheck/check-pkgbuild/libre-blacklist new file mode 100755 index 0000000..3c89004 --- /dev/null +++ b/src/librecheck/check-pkgbuild/libre-blacklist @@ -0,0 +1,8 @@ +#!/bin/bash +# Checks if a package is on blacklist + +. /usr/share/libretools/conf.sh + +blacklist="$XDG_CONFIG_HOME/libretools/blacklist.txt" +egrep -q "^${1}:" "${blacklist}" +exit $? |