summaryrefslogtreecommitdiff
path: root/src/is_unfree
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-13 14:19:36 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-13 14:19:36 -0500
commitb72653f654882335026d04de5c25ea02c20e8412 (patch)
treebeb1ee4ad86e23396a09a61dda58c9804c2a5495 /src/is_unfree
parent27d4291f8404cfa8992492211df6ed7042f6036e (diff)
clean up some misc scripts
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 $?