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

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

@ -8,3 +8,10 @@ post_install() {
post_upgrade() { post_upgrade() {
post_install 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