You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
330 B
Plaintext

post_install() {
for x in apt apt-get zypper dnf eopkg apk; do
ln -s /usr/bin/pkg-warner /usr/bin/$x
echo "linked to $x"
done
}
post_upgrade() {
post_install
}
post_remove() {
for x in apt apt-get zypper dnf eopkg apk; do
rm -f /usr/bin/$x
echo "removed the link to $x"
done
}