xulrunner/installer/debian/postinst.in

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

michael@0 1 #literal #! /bin/sh
michael@0 2 #filter substitution
michael@0 3 # postinst script for moz
michael@0 4 #
michael@0 5 # see: dh_installdeb(1)
michael@0 6
michael@0 7 set -e
michael@0 8
michael@0 9 # summary of how this script can be called:
michael@0 10 # * <postinst> `configure' <most-recently-configured-version>
michael@0 11 # * <old-postinst> `abort-upgrade' <new version>
michael@0 12 # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
michael@0 13 # <new-version>
michael@0 14 # * <postinst> `abort-remove'
michael@0 15 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
michael@0 16 # <failed-install-package> <version> `removing'
michael@0 17 # <conflicting-package> <version>
michael@0 18 # for details, see http://www.debian.org/doc/debian-policy/ or
michael@0 19 # the debian-policy package
michael@0 20
michael@0 21
michael@0 22 case "$1" in
michael@0 23 configure)
michael@0 24 ;;
michael@0 25
michael@0 26 abort-upgrade|abort-remove|abort-deconfigure)
michael@0 27 ;;
michael@0 28
michael@0 29 *)
michael@0 30 echo "postinst called with unknown argument \`$1'" >&2
michael@0 31 exit 1
michael@0 32 ;;
michael@0 33 esac
michael@0 34
michael@0 35 #ifdef MOZ_WIDGET_GTK
michael@0 36 gtk-update-icon-cache /usr/share/icons/hicolor
michael@0 37 #endif
michael@0 38
michael@0 39
michael@0 40 exit 0
michael@0 41
michael@0 42

mercurial