diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-01-17 21:13:49 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-01-17 21:13:49 -0500 |
commit | e1f0615da82b8fa0f605678cc37ea883bd5eabed (patch) | |
tree | 3059431f1c8247d56e9c3c0b60fe8f6f229854a7 /src/librecheck/check-pkgbuild/libre-blacklist | |
parent | 5c2dd97a91421e6e5f7e920579fcb88bb71e7fa7 (diff) |
Diffstat (limited to 'src/librecheck/check-pkgbuild/libre-blacklist')
-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 $? |