X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=debian%2Flibyazproxy1.postinst;fp=debian%2Flibyazproxy1.postinst;h=b1c9f23a91343f50f05650607d8270ed2688b538;hb=4f55b9ca13088969a9e76ad283b57d314324f1d8;hp=0000000000000000000000000000000000000000;hpb=e2648a3fd771653c6ce0673e3a5a5365383241dd;p=yazproxy-moved-to-github.git diff --git a/debian/libyazproxy1.postinst b/debian/libyazproxy1.postinst new file mode 100755 index 0000000..b1c9f23 --- /dev/null +++ b/debian/libyazproxy1.postinst @@ -0,0 +1,45 @@ +#! /bin/sh +# postinst script +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# 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) + ldconfig + exit 0 + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + exit 0 + ;; + + *) + 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#