#!/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 $?