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