mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 442103 - Adds prerm script to unregister xulrunner on uninstall for debian installer. r=ted
This commit is contained in:
parent
e6e9681ac7
commit
2e614b27de
27
xulrunner/installer/debian/prerm
Normal file
27
xulrunner/installer/debian/prerm
Normal 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user