diff options
author | Siggi Langauf <siggi@users.sourceforge.net> | 2001-09-02 20:05:59 +0000 |
---|---|---|
committer | Siggi Langauf <siggi@users.sourceforge.net> | 2001-09-02 20:05:59 +0000 |
commit | e8ae125bbec09d004fed2ff9a8b7a57a0f3cc990 (patch) | |
tree | d541cae30a063b04d83e85fa09363079128b2d94 /debian/libxine0.postinst | |
parent | b2b968f6789da8cf0c69ed955a010b178690908d (diff) | |
download | xine-lib-e8ae125bbec09d004fed2ff9a8b7a57a0f3cc990.tar.gz xine-lib-e8ae125bbec09d004fed2ff9a8b7a57a0f3cc990.tar.bz2 |
debianization for 0.5.2
CVS patchset: 552
CVS date: 2001/09/02 20:05:59
Diffstat (limited to 'debian/libxine0.postinst')
-rw-r--r-- | debian/libxine0.postinst | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/debian/libxine0.postinst b/debian/libxine0.postinst new file mode 100644 index 000000000..5714dc0f5 --- /dev/null +++ b/debian/libxine0.postinst @@ -0,0 +1,49 @@ +#! /bin/sh +# postinst script for xine-lib +# +# 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 /usr/share/doc/packaging-manual/ +# +# 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'. + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + +case "$1" in + configure) + ldconfig + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + + +exit 0 + + |