blob: 92b72b1e245c2f600982ffa0c9ac75978639d20a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
#!/bin/sh
# -*- Mode: Sh -*-
# config ---
# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
# Created On : Fri Oct 31 21:53:31 2003
# Created On Node : glaurung.green-gryphon.com
# Last Modified By : Manoj Srivastava
# Last Modified On : Tue Dec 2 21:36:50 2003
# Last Machine Used: glaurung.green-gryphon.com
# Update Count : 13
# Status : Unknown, Use with caution!
# HISTORY :
# Description :
# arch-tag: 1c40a2eb-f28c-41b5-a423-671be2e816ed
#
set -e
case "$1" in
configure)
# Configure this package. If the package must prompt the user for
# information, do it here.
if [ ! -e /etc/news/organization ]; then
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_capb
ok=''
# See if the old shared question still exists.
if db_get share/news/organization; then
if [ "X$RET" != "X" ]; then
ok=1
break
fi
fi
while [ ! "$ok" ]; do
retval=$(db_input low shared/news/organization) || true
if [ "$retval" = "30 question skipped" ]; then
ok=1
fi
db_go || true
db_get shared/news/organization
if [ "X$RET" != "X" ]; then
ok=1
break
fi
done
fi
fi
;;
reconfigure)
if [ ! -e /etc/news/organization ]; then
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_capb
ok=''
# See if the old shared question still exists.
if db_get share/news/organization; then
if [ "X$RET" != "X" ]; then
ok=1
break
fi
fi
while [ ! "$ok" ]; do
retval=$(db_input low shared/news/organization) || true
if [ "$retval" = "30 question skipped" ]; then
ok=1
fi
db_go || true
db_get shared/news/organization
if [ "X$RET" != "X" ]; then
ok=1
break
fi
done
fi
fi
;;
*) echo "$0: didn't understand being called with \`$1'" 1>&2
exit 0;;
esac
|