trisquel-icecat/icecat/browser/installer/linux/app/debian/prerm.in
2025-10-06 02:35:48 -06:00

6 lines
217 B
Bash

#!/bin/sh -e
if [ "$$1" = "remove" ] || [ "$$1" = "deconfigure" ] ; then
update-alternatives --remove x-www-browser /usr/bin/${PKG_NAME}
update-alternatives --remove gnome-www-browser /usr/bin/${PKG_NAME}
fi