annotate debian/gftp-text.prerm @ 440:44a018ea578c

2004-3-19 Brian Masney <masneyb@gftp.org> * debian/gftp-text.prerm - missing debian package file * Makefile.am - updated with EXTRA_DIST variable with the list of the Debian package files
author masneyb
date Sat, 20 Mar 2004 18:48:40 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
440
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
1 #!/bin/sh
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
2 # prerm script for gftp-text
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
3
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
4 set -e
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
5
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
6 case "$1" in
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
7 remove|deconfigure)
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
8 update-alternatives --remove ftp /usr/bin/gftp-text
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
9 ;;
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
10 failed-upgrade|upgrade)
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
11 ;;
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
12 *)
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
13 echo "prerm called with unknown argument \`$1'" >&2
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
14 exit 1
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
15 ;;
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
16 esac
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
17
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
18 # dh_installdeb will replace this with shell code automatically
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
19 # generated by other debhelper scripts.
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
20
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
21 #DEBHELPER#
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
22
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
23 exit 0
44a018ea578c 2004-3-19 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
24