gecko/xulrunner/installer/debian/prerm

28 lines
357 B
Bash

#!/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