paul@0 | 1 | #!/bin/sh |
paul@0 | 2 | # prerm 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 | # * <prerm> `remove' |
paul@0 | 10 | # * <old-prerm> `upgrade' <new-version> |
paul@0 | 11 | # * <new-prerm> `failed-upgrade' <old-version> |
paul@0 | 12 | # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> |
paul@0 | 13 | # * <deconfigured's-prerm> `deconfigure' `in-favour' |
paul@0 | 14 | # <package-being-installed> <version> `removing' |
paul@0 | 15 | # <conflicting-package> <version> |
paul@0 | 16 | # for details, see http://www.debian.org/doc/debian-policy/ or |
paul@0 | 17 | # the debian-policy package |
paul@0 | 18 | |
paul@0 | 19 | |
paul@0 | 20 | case "$1" in |
paul@0 | 21 | remove|upgrade|deconfigure) |
paul@0 | 22 | ;; |
paul@0 | 23 | |
paul@0 | 24 | failed-upgrade) |
paul@0 | 25 | ;; |
paul@0 | 26 | |
paul@0 | 27 | *) |
paul@0 | 28 | echo "prerm called with unknown argument \`$1'" >&2 |
paul@0 | 29 | exit 1 |
paul@0 | 30 | ;; |
paul@0 | 31 | esac |
paul@0 | 32 | |
paul@0 | 33 | # dh_installdeb will replace this with shell code automatically |
paul@0 | 34 | # generated by other debhelper scripts. |
paul@0 | 35 | |
paul@0 | 36 | #DEBHELPER# |
paul@0 | 37 | |
paul@0 | 38 | exit 0 |