xulrunner/installer/debian/postinst.in

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xulrunner/installer/debian/postinst.in	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +#literal #! /bin/sh
     1.5 +#filter substitution
     1.6 +# postinst script for moz
     1.7 +#
     1.8 +# see: dh_installdeb(1)
     1.9 +
    1.10 +set -e
    1.11 +
    1.12 +# summary of how this script can be called:
    1.13 +#        * <postinst> `configure' <most-recently-configured-version>
    1.14 +#        * <old-postinst> `abort-upgrade' <new version>
    1.15 +#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
    1.16 +#          <new-version>
    1.17 +#        * <postinst> `abort-remove'
    1.18 +#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
    1.19 +#          <failed-install-package> <version> `removing'
    1.20 +#          <conflicting-package> <version>
    1.21 +# for details, see http://www.debian.org/doc/debian-policy/ or
    1.22 +# the debian-policy package
    1.23 +
    1.24 +
    1.25 +case "$1" in
    1.26 +    configure)
    1.27 +    ;;
    1.28 +
    1.29 +    abort-upgrade|abort-remove|abort-deconfigure)
    1.30 +    ;;
    1.31 +
    1.32 +    *)
    1.33 +        echo "postinst called with unknown argument \`$1'" >&2
    1.34 +        exit 1
    1.35 +    ;;
    1.36 +esac
    1.37 +
    1.38 +#ifdef MOZ_WIDGET_GTK
    1.39 +gtk-update-icon-cache /usr/share/icons/hicolor
    1.40 +#endif
    1.41 +
    1.42 +
    1.43 +exit 0
    1.44 +
    1.45 +

mercurial