xulrunner/installer/debian/postinst.in
author David Anderson <danderson@mozilla.com>
Tue, 13 Mar 2012 16:10:05 -0700
changeset 112276 7eb3fbbd50d7d1ce99527ee27f8b619c87e96fc7
parent 83831 66a2ddade3f0a66e4c1521461cbd0fbb64d84b6b
permissions -rw-r--r--
Merge from mozilla-central.

#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