File: config

package info (click to toggle)
flex 2.5.31-31sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,048 kB
  • ctags: 1,393
  • sloc: ansic: 13,165; sh: 5,433; lex: 3,244; makefile: 1,369; yacc: 966; awk: 78; cpp: 23; sed: 16
file content (43 lines) | stat: -rw-r--r-- 1,169 bytes parent folder | download | duplicates (2)
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
#!/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 : Thu Dec  4 02:57:27 2003
# Last Machine Used: glaurung.green-gryphon.com
# Update Count     : 5
# Status           : Unknown, Use with caution!
# HISTORY          : 
# Description      : 
# 
# arch-tag: 527055c2-4782-4b72-8c83-724e2460938f
#

set -e

case "$1" in
  configure)
    # Configure this package.  If the package must prompt the user for
    # information, do it here.
	if [ -n "$2" ]; then
	    if dpkg --compare-versions "$2" lt "2.5.5" ; then
	         # Prompt the user about the upgrade from pre 2.5.5.
	         # The preinst will act on the result of this question.
		. /usr/share/debconf/confmodule
		db_capb
		db_input medium flex/upgrade/pre_2.5.5 || true
		db_go || true
	    fi
	fi
 
    ;;
  reconfigure)
    # Nothing to do when reconfigured.
    :
    ;;
  *) echo "$0: didn't understand being called with \`$1'" 1>&2
     exit 0;;
esac