mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
eb11b5e316
--HG-- rename : xulrunner/installer/debian/postinst => xulrunner/installer/debian/postinst.in rename : xulrunner/installer/debian/prerm => xulrunner/installer/debian/prerm.in
43 lines
946 B
Plaintext
43 lines
946 B
Plaintext
#literal #! /bin/sh
|
|
#filter substitution
|
|
# postinst script for moz
|
|
#
|
|
# see: dh_installdeb(1)
|
|
|
|
set -e
|
|
|
|
# summary of how this script can be called:
|
|
# * <postinst> `configure' <most-recently-configured-version>
|
|
# * <old-postinst> `abort-upgrade' <new version>
|
|
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
|
# <new-version>
|
|
# * <postinst> `abort-remove'
|
|
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
|
# <failed-install-package> <version> `removing'
|
|
# <conflicting-package> <version>
|
|
# for details, see http://www.debian.org/doc/debian-policy/ or
|
|
# the debian-policy package
|
|
|
|
|
|
case "$1" in
|
|
configure)
|
|
;;
|
|
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
;;
|
|
|
|
*)
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
#ifdef MOZ_WIDGET_GTK
|
|
gtk-update-icon-cache /usr/share/icons/hicolor
|
|
#endif
|
|
|
|
|
|
exit 0
|
|
|
|
|