144
|
1 #!/bin/sh
|
400
|
2 # postinst script for gftp-text
|
|
3
|
|
4 set -e
|
|
5
|
|
6 case "$1" in
|
|
7 configure|abort-upgrade)
|
|
8 update-alternatives --install /usr/bin/ftp ftp /usr/bin/gftp-text 100 \
|
|
9 --slave /usr/share/man/man1/ftp.1.gz ftp.1.gz /usr/share/man/man1/gftp.1.gz
|
144
|
10
|
400
|
11 ;;
|
|
12 abort-remove|abort-deconfigure)
|
|
13 ;;
|
|
14 *)
|
|
15 echo "postinst called with unknown argument \`$1'" >&2
|
|
16 exit 1
|
|
17 ;;
|
|
18 esac
|
144
|
19
|
400
|
20
|
|
21 # dh_installdeb will replace this with shell code automatically
|
|
22 # generated by other debhelper scripts.
|
|
23
|
|
24 #DEBHELPER#
|
|
25
|
|
26 exit 0
|
|
27
|