summaryrefslogtreecommitdiff
path: root/res/debian/postinst
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-04-21 23:30:02 +0300
committerLV-426 <lv-426@taproot.org.il>2015-04-21 23:33:39 +0300
commitafcf976f279cda819420dc8e10e922cf9a492062 (patch)
tree17ac831abaf7a01276c065e317199e7791f62743 /res/debian/postinst
parentcbb6cf2a75bf4fc650f572e84e763e1fdd00239f (diff)
wip: debian packaging
Diffstat (limited to 'res/debian/postinst')
-rw-r--r--res/debian/postinst40
1 files changed, 40 insertions, 0 deletions
diff --git a/res/debian/postinst b/res/debian/postinst
new file mode 100644
index 00000000..860dbf91
--- /dev/null
+++ b/res/debian/postinst
@@ -0,0 +1,40 @@
+#!/bin/sh
+# postinst script for rhizi
+#
+# 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)
+ # call chmod, chown, etc.
+ ;;
+
+ 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