summaryrefslogtreecommitdiff
path: root/src/is_unfree
diff options
context:
space:
mode:
Diffstat (limited to 'src/is_unfree')
-rwxr-xr-xsrc/is_unfree5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/is_unfree b/src/is_unfree
index f32c193..c2a37c9 100755
--- a/src/is_unfree
+++ b/src/is_unfree
@@ -1,11 +1,8 @@
#!/bin/bash
# Checks if a package is on blacklist
-# fail immediately on error
-set -E
+. /etc/libretools.conf
blacklist="$XDG_CONFIG_HOME/libretools/blacklist.txt"
-
egrep -q "^${1}:" "${blacklist}"
-
exit $?