diff options
author | Pablo Martín <caedesv@users.sourceforge.net> | 2003-09-07 21:08:04 +0000 |
---|---|---|
committer | Pablo Martín <caedesv@users.sourceforge.net> | 2003-09-07 21:08:04 +0000 |
commit | 8450df6a1679c3ff12b172c5280cefcdd5155d56 (patch) | |
tree | 3cfe4204ce9c1726e1e42827003eafc890f011f0 /debian/postinst.ex | |
parent | c5bc1501b93b66d9297dc6d5e17c8fb7e2fcbb31 (diff) |
Adding debian dir for 'pd-pdp' packet creation
svn path=/trunk/externals/pdp/; revision=938
Diffstat (limited to 'debian/postinst.ex')
-rw-r--r-- | debian/postinst.ex | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/debian/postinst.ex b/debian/postinst.ex new file mode 100644 index 0000000..f8bba05 --- /dev/null +++ b/debian/postinst.ex @@ -0,0 +1,48 @@ +#! /bin/sh +# postinst script for pdp +# +# 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> +# * <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 +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +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 + + |