diff options
author | Jakob Odersky <jakob@odersky.com> | 2020-02-25 19:42:07 +0100 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2020-02-25 20:08:31 +0100 |
commit | 595131b8e3ffe99e9187c7adb5e73e922bd931e1 (patch) | |
tree | e2ce6d110858d8077517b602c33637ec704a1ad5 /debian/resteasy.postinst | |
download | resteasy-595131b8e3ffe99e9187c7adb5e73e922bd931e1.tar.gz resteasy-595131b8e3ffe99e9187c7adb5e73e922bd931e1.tar.bz2 resteasy-595131b8e3ffe99e9187c7adb5e73e922bd931e1.zip |
Initial commit
Diffstat (limited to 'debian/resteasy.postinst')
-rw-r--r-- | debian/resteasy.postinst | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/debian/resteasy.postinst b/debian/resteasy.postinst new file mode 100644 index 0000000..3bd788c --- /dev/null +++ b/debian/resteasy.postinst @@ -0,0 +1,42 @@ +#!/bin/sh +# postinst script for resteasy +# +# 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 https://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + touch /etc/resteasy + chown root:root /etc/resteasy + chmod 0600 /etc/resteasy + ;; + + 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 |