diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-04-21 23:30:02 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-04-21 23:33:39 +0300 |
| commit | afcf976f279cda819420dc8e10e922cf9a492062 (patch) | |
| tree | 17ac831abaf7a01276c065e317199e7791f62743 /res/debian/postinst | |
| parent | cbb6cf2a75bf4fc650f572e84e763e1fdd00239f (diff) | |
wip: debian packaging
Diffstat (limited to 'res/debian/postinst')
| -rw-r--r-- | res/debian/postinst | 40 |
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 |
