summaryrefslogtreecommitdiff
path: root/src/librecheck/check-pkgbuild/libre-blacklist
blob: 3c89004b5ec9c46b89326e40f70c89f50e4a913a (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
# Checks if a package is on blacklist

. /usr/share/libretools/conf.sh

blacklist="$XDG_CONFIG_HOME/libretools/blacklist.txt"
egrep -q "^${1}:" "${blacklist}"
exit $?