diff options
| author | Siggi Langauf <siggi@users.sourceforge.net> | 2001-08-26 09:37:22 +0000 |
|---|---|---|
| committer | Siggi Langauf <siggi@users.sourceforge.net> | 2001-08-26 09:37:22 +0000 |
| commit | a21199e5660fdb21d19be610d72823c2b426ff96 (patch) | |
| tree | 48659bcd9a4443125bec4b319814bf560a92e932 /debian/postinst | |
| parent | 89fe2fba9955a9e21bd826a9c69a3bc75307a001 (diff) | |
| download | xine-lib-a21199e5660fdb21d19be610d72823c2b426ff96.tar.gz xine-lib-a21199e5660fdb21d19be610d72823c2b426ff96.tar.bz2 | |
added debian packaging stuff
There's still one policy violation: -fPIC is not used on libxine.
Have to work out if we're wrong or policy is wrong here...
CVS patchset: 498
CVS date: 2001/08/26 09:37:22
Diffstat (limited to 'debian/postinst')
| -rw-r--r-- | debian/postinst | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 000000000..5714dc0f5 --- /dev/null +++ b/debian/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 + + |
