Update domain name to kpe.io
[wol.git] / debian / postinst
1 #! /bin/sh
2 set -e
3
4 # summary of how this script can be called:
5 #        * <postinst> `configure' <most-recently-configured-version>
6 #        * <old-postinst> `abort-upgrade' <new version>
7 #        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
8 #          <new-version>
9 #        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
10 #          <failed-install-package> <version> `removing'
11 #          <conflicting-package> <version>
12 # for details, see /usr/share/doc/packaging-manual/
13 #
14 # quoting from the policy:
15 #     Any necessary prompting should almost always be confined to the
16 #     post-installation script, and should be protected with a conditional
17 #     so that unnecessary prompting doesn't happen if a package's
18 #     installation fails and the `postinst' is called with `abort-upgrade',
19 #     `abort-remove' or `abort-deconfigure'.
20
21 case "$1" in
22     configure)
23       register-common-lisp-source wol
24       ;;
25     abort-upgrade|abort-remove|abort-deconfigure)
26         unregister-common-lisp-source wol
27         ;;
28     *)
29         echo "postinst called with unknown argument \`$1'" >&2
30         exit 0
31         ;;
32 esac
33
34 # dh_installdeb will replace this with shell code automatically
35 # generated by other debhelper scripts.
36
37 #DEBHELPER#
38
39 exit 0
40
41