summaryrefslogtreecommitdiffstats
path: root/application/xulrunner/installer/debian/postinst.in
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-20 20:11:26 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-20 20:11:26 -0400
commit754ad610489603f80ea38bbd2cf18b28f0d8bf1d (patch)
tree9a8b4ed066d335f0817ccb60fdfa5e082322ae3f /application/xulrunner/installer/debian/postinst.in
parenta26cb28c9780c015694151771d649b7cec4086db (diff)
downloadUXP-754ad610489603f80ea38bbd2cf18b28f0d8bf1d.tar
UXP-754ad610489603f80ea38bbd2cf18b28f0d8bf1d.tar.gz
UXP-754ad610489603f80ea38bbd2cf18b28f0d8bf1d.tar.lz
UXP-754ad610489603f80ea38bbd2cf18b28f0d8bf1d.tar.xz
UXP-754ad610489603f80ea38bbd2cf18b28f0d8bf1d.zip
Import XULRunner and make it produce the generic stub
Diffstat (limited to 'application/xulrunner/installer/debian/postinst.in')
-rw-r--r--application/xulrunner/installer/debian/postinst.in42
1 files changed, 42 insertions, 0 deletions
diff --git a/application/xulrunner/installer/debian/postinst.in b/application/xulrunner/installer/debian/postinst.in
new file mode 100644
index 000000000..0f06640e2
--- /dev/null
+++ b/application/xulrunner/installer/debian/postinst.in
@@ -0,0 +1,42 @@
+#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
+
+