blob: f32c193e903f5fc87f89eccaf0ba1b9f5c9c6ebe (
plain)
1
2
3
4
5
6
7
8
9
10
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 $?
|