File: afbackup-client.preinst

package info (click to toggle)
afbackup 3.1beta1-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,500 kB
  • ctags: 1,685
  • sloc: ansic: 22,406; csh: 3,597; tcl: 964; sh: 403; makefile: 200
file content (27 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (5)
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
#!/bin/sh -e

case "$1" in
    install)
	exit 0
    ;;
    upgrade)
	case "$2" in
	    2.6*)
		echo "If you get asked to overwrite your old configuration, please do so !"
		echo "You can easily reconfigure your system with afclientconfig or xafclientconfig."
		echo "The existing status information won't be touched :-)"
	     ;;
        esac    	
        # continue below
    ;;

    abort-upgrade)
        exit 0
    ;;

    *)
        echo "preinst called with unknown argument \`$1'" >&2
        exit 0
    ;;
esac
#DEBHELPER#