make sure to remove links on pkg uninstall (thanks @ihatethefrench(

main
Matt C 2 years ago
parent 3a7e263768
commit 5ea89a4acf

@ -7,4 +7,11 @@ post_install() {
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
}
Loading…
Cancel
Save