diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-09-26 11:11:51 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-09-26 15:55:42 (GMT) |
commit | bbe1d048955fb9e03769a92387b83389ac3fd781 (patch) | |
tree | 34ba7f4c6a1e2c05283970affa2dc939726f24da /Swift/Packaging/Debian/postinst.ex | |
parent | 60e4ab9985c04acd399265d793d250a1b24e3412 (diff) | |
download | swift-contrib-bbe1d048955fb9e03769a92387b83389ac3fd781.zip swift-contrib-bbe1d048955fb9e03769a92387b83389ac3fd781.tar.bz2 |
Added debian packaging script.
Diffstat (limited to 'Swift/Packaging/Debian/postinst.ex')
-rw-r--r-- | Swift/Packaging/Debian/postinst.ex | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Swift/Packaging/Debian/postinst.ex b/Swift/Packaging/Debian/postinst.ex new file mode 100644 index 0000000..1718654 --- /dev/null +++ b/Swift/Packaging/Debian/postinst.ex @@ -0,0 +1,39 @@ +#!/bin/sh +# postinst script for swift +# +# 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 |