Bug 442103 - Adds prerm script to unregister xulrunner on uninstall for debian installer. r=ted

This commit is contained in:
"Brad Lassey" 2008-07-05 14:28:18 -04:00
parent e6e9681ac7
commit 2e614b27de

View File

@ -0,0 +1,27 @@
#!/bin/sh
# prerm script for moz
#
# see: dh_installdeb(1)
set -e
case "$1" in
remove|upgrade|deconfigure)
/usr/local/xulrunner/xulrunner --unregister-global
;;
failed-upgrade)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
gtk-update-icon-cache /usr/share/icons/hicolor
exit 0