/[fai]/trunk/debian/fai-server.postinst
ViewVC logotype

Contents of /trunk/debian/fai-server.postinst

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4500 - (show annotations) (download)
Sun Aug 12 14:12:39 2007 UTC (5 years, 9 months ago) by lange
File size: 1732 byte(s)
make-fai-nfsroot.conf in not needed since TFTPROOT is not used any more (closes: #430000)
this commit and the last commit closes #430000
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-2006 by Thomas Lange, Universitaet zu Koeln
9 #*********************************************************************
10 #
11 # see: dh_installdeb(1)
12
13 set -e
14
15
16 # summary of how this script can be called:
17 # * <postinst> `configure' <most-recently-configured-version>
18 # * <old-postinst> `abort-upgrade' <new version>
19 # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
20 # <new-version>
21 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
22 # <failed-install-package> <version> `removing'
23 # <conflicting-package> <version>
24 # for details, see /usr/share/doc/packaging-manual/
25 #
26 # quoting from the policy:
27 # Any necessary prompting should almost always be confined to the
28 # post-installation script, and should be protected with a conditional
29 # so that unnecessary prompting doesn't happen if a package's
30 # installation fails and the `postinst' is called with `abort-upgrade',
31 # `abort-remove' or `abort-deconfigure'.
32
33 case "$1" in
34 configure)
35
36 echo "You might want to edit fai.conf and make-fai-nfsroot.conf in /etc/fai or"
37 echo "go with the defaults. You should edit /etc/fai/apt/sources.list"
38 echo "for faster access to a package repository."
39 ;;
40
41 abort-upgrade|abort-remove|abort-deconfigure)
42
43 ;;
44
45 *)
46 echo "postinst called with unknown argument \`$1'" >&2
47 exit 0
48 ;;
49 esac
50
51 # dh_installdeb will replace this with shell code automatically
52 # generated by other debhelper scripts.
53
54 #DEBHELPER#
55
56 exit 0

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5