summaryrefslogtreecommitdiff
path: root/src/is_unfree
blob: c2a37c980ccff09c1fe9ddb73c6e63adb4434861 (plain)
1
2
3
4
5
6
7
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 $?