diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-05 00:46:06 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-05 00:46:06 -0300 |
commit | 9f28620de84a5a35d2ca029ad9145a4b01233929 (patch) | |
tree | edebbb57370c84a6df7bddf7dfb8617edb22eab7 /is_unfree | |
parent | d2abc7fe1075bf541cd85b29e8053096ab74fb29 (diff) | |
parent | c5d7675fa4de40514deda2757cd027bb4870424e (diff) |
Merge branch 'master' into fauno
Conflicts:
is_built
Diffstat (limited to 'is_unfree')
-rwxr-xr-x | is_unfree | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/is_unfree b/is_unfree new file mode 100755 index 0000000..f32c193 --- /dev/null +++ b/is_unfree @@ -0,0 +1,11 @@ +#!/bin/bash +# Checks if a package is on blacklist + +# fail immediately on error +set -E + +blacklist="$XDG_CONFIG_HOME/libretools/blacklist.txt" + +egrep -q "^${1}:" "${blacklist}" + +exit $? |