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 $?