annotate debian/gftp-text.prerm @ 845:8263cc35c027

2006-11-2 Brian Masney <masneyb@gftp.org> * lib/gftp.h lib/local.c lib/misc.c lib/protocols.c lib/rfc959.c lib/sshv2.c - added gftp_filename_to_utf8() and gftp_filename_from_utf8(). (gftp_string_from_utf8) - added argument that will force the local encoding to be used.
author masneyb
date Fri, 03 Nov 2006 03:02:51 +0000
parents 44a018ea578c
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