summaryrefslogtreecommitdiff
path: root/debian/postinst.ex
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-12-06 00:26:27 +0100
committerJavier S. Pedro <maemo@javispedro.com>2013-12-06 00:26:27 +0100
commit7a21cda13e56f21b9f0cb60f69c42ec1e7830edd (patch)
treeb61a58cb1c5bbe3a930c7256d69b601549084794 /debian/postinst.ex
parente3ef07dd34b1d8d39d32fa1e43351b7d54c61336 (diff)
downloadlibgato-7a21cda13e56f21b9f0cb60f69c42ec1e7830edd.tar.gz
libgato-7a21cda13e56f21b9f0cb60f69c42ec1e7830edd.zip
adding better debian packaging
Diffstat (limited to 'debian/postinst.ex')
-rw-r--r--debian/postinst.ex39
1 files changed, 39 insertions, 0 deletions
diff --git a/debian/postinst.ex b/debian/postinst.ex
new file mode 100644
index 0000000..2e819d9
--- /dev/null
+++ b/debian/postinst.ex
@@ -0,0 +1,39 @@
+#!/bin/sh
+# postinst script for libgato
+#
+# 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
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0