blob: 70dbec5c429f8998472255e37613305b10f62363 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env bash
set -eu
pre_remove() {
# If pacman.conf is still configured to use aurto warn that removing the package will break pacman
if grep -q '^Include = /etc/pacman.d/aurto$' /etc/pacman.conf; then
echo -en "\\e[33mWarning: Aurto repo is still configured. " >&2
echo -e "Remove \"Include = /etc/pacman.d/aurto\" from /etc/pacman.conf\\e[39m" >&2
fi
}
|