2 # postinst script for tinc
4 # $Id: postinst,v 1.1 2000/05/16 07:56:05 zarq Exp $
6 # see: dh_installdeb(1)
10 # summary of how this script can be called:
11 # * <postinst> `configure' <most-recently-configured-version>
12 # * <old-postinst> `abort-upgrade' <new version>
13 # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
15 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
16 # <failed-install-package> <version> `removing'
17 # <conflicting-package> <version>
18 # for details, see /usr/doc/packaging-manual/
20 # quoting from the policy:
21 # Any necessary prompting should almost always be confined to the
22 # post-installation script, and should be protected with a conditional
23 # so that unnecessary prompting doesn't happen if a package's
24 # installation fails and the `postinst' is called with `abort-upgrade',
25 # `abort-remove' or `abort-deconfigure'.
30 cd /dev && ./MAKEDEV netlink || true
34 abort-upgrade|abort-remove|abort-deconfigure)
39 echo "postinst called with unknown argument \`$1'" >&2
44 # dh_installdeb will replace this with shell code automatically
45 # generated by other debhelper scripts.