/[fai]/trunk/debian/postinst
ViewVC logotype

Contents of /trunk/debian/postinst

Parent Directory Parent Directory | Revision Log Revision Log


Revision 331 - (show annotations) (download)
Thu Feb 8 15:13:52 2001 UTC (12 years, 3 months ago) by lange
File size: 1573 byte(s)
*** empty log message ***
1 #! /bin/sh
2
3 # $Id $
4 #*********************************************************************
5 # postinst -- setup fai
6 #
7 # This script is part of FAI (Fully Automatic Installation)
8 # Copyright (c) 2000 by Thomas Lange, Universitaet zu Koeln
9 #*********************************************************************
10 #
11 # see: dh_installdeb(1)
12
13 set -eu
14
15 # summary of how this script can be called:
16 # * <postinst> `configure' <most-recently-configured-version>
17 # * <old-postinst> `abort-upgrade' <new version>
18 # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
19 # <new-version>
20 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
21 # <failed-install-package> <version> `removing'
22 # <conflicting-package> <version>
23 # for details, see /usr/doc/packaging-manual/
24 #
25 # quoting from the policy:
26 # Any necessary prompting should almost always be confined to the
27 # post-installation script, and should be protected with a conditional
28 # so that unnecessary prompting doesn't happen if a package's
29 # installation fails and the `postinst' is called with `abort-upgrade',
30 # `abort-remove' or `abort-deconfigure'.
31
32
33 case "$1" in
34 configure)
35
36 echo "To set up FAI, edit /etc/fai.conf and call fai-setup."
37
38 ;;
39
40 abort-upgrade|abort-remove|abort-deconfigure)
41
42 ;;
43
44 *)
45 echo "postinst called with unknown argument \`$1'" >&2
46 exit 0
47 ;;
48 esac
49
50 # dh_installdeb will replace this with shell code automatically
51 # generated by other debhelper scripts.
52
53 #DEBHELPER#
54
55 exit 0

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5