paul@0 | 1 | #!/bin/sh |
paul@0 | 2 | # postinst script for libcalendaring |
paul@0 | 3 | # |
paul@0 | 4 | # see: dh_installdeb(1) |
paul@0 | 5 | |
paul@0 | 6 | set -e |
paul@0 | 7 | |
paul@0 | 8 | # summary of how this script can be called: |
paul@0 | 9 | # * <postinst> `configure' <most-recently-configured-version> |
paul@0 | 10 | # * <old-postinst> `abort-upgrade' <new version> |
paul@0 | 11 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> |
paul@0 | 12 | # <new-version> |
paul@0 | 13 | # * <postinst> `abort-remove' |
paul@0 | 14 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' |
paul@0 | 15 | # <failed-install-package> <version> `removing' |
paul@0 | 16 | # <conflicting-package> <version> |
paul@0 | 17 | # for details, see http://www.debian.org/doc/debian-policy/ or |
paul@0 | 18 | # the debian-policy package |
paul@0 | 19 | |
paul@0 | 20 | |
paul@0 | 21 | case "$1" in |
paul@0 | 22 | configure) |
paul@0 | 23 | ;; |
paul@0 | 24 | |
paul@0 | 25 | abort-upgrade|abort-remove|abort-deconfigure) |
paul@0 | 26 | ;; |
paul@0 | 27 | |
paul@0 | 28 | *) |
paul@0 | 29 | echo "postinst called with unknown argument \`$1'" >&2 |
paul@0 | 30 | exit 1 |
paul@0 | 31 | ;; |
paul@0 | 32 | esac |
paul@0 | 33 | |
paul@0 | 34 | # dh_installdeb will replace this with shell code automatically |
paul@0 | 35 | # generated by other debhelper scripts. |
paul@0 | 36 | |
paul@0 | 37 | #DEBHELPER# |
paul@0 | 38 | |
paul@0 | 39 | exit 0 |