From afcf976f279cda819420dc8e10e922cf9a492062 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Tue, 21 Apr 2015 23:30:02 +0300 Subject: wip: debian packaging --- res/debian/postinst | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 res/debian/postinst (limited to 'res/debian/postinst') 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: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# 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 -- cgit v1.3.1