annotate debian/gftp-text.postinst @ 879:a41a3590d696

2007-2-14 Brian Masney <masneyb@gftp.org> * lib/gftp.h src/gtk/gtkui.c src/uicommon/gftpui.c - added refreshing field to the gftp_request structure. If this is set in gftpui_common_cmd_open(), then the refresh command is not ran after a connection is made to the server. This field is currently only enabled when running called from the refresh function in the GTK+ port. It fixes an issue where the refresh command was being ran twice. (closes #171732)
author masneyb
date Thu, 15 Feb 2007 01:06:49 +0000
parents 398fcbad832b
children 2311d02b07bc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
144
f7251c70153a This file was missing from my last commit
masneyb
parents:
diff changeset
1 #!/bin/sh
400
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
2 # postinst script for gftp-text
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
3
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
4 set -e
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
5
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
6 case "$1" in
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
7 configure|abort-upgrade)
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
8 update-alternatives --install /usr/bin/ftp ftp /usr/bin/gftp-text 100 \
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
9 --slave /usr/share/man/man1/ftp.1.gz ftp.1.gz /usr/share/man/man1/gftp.1.gz
144
f7251c70153a This file was missing from my last commit
masneyb
parents:
diff changeset
10
400
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
11 ;;
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
12 abort-remove|abort-deconfigure)
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
13 ;;
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
14 *)
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
15 echo "postinst called with unknown argument \`$1'" >&2
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
16 exit 1
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
17 ;;
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
18 esac
144
f7251c70153a This file was missing from my last commit
masneyb
parents:
diff changeset
19
400
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
20
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
21 # dh_installdeb will replace this with shell code automatically
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
22 # generated by other debhelper scripts.
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
23
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
24 #DEBHELPER#
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
25
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
26 exit 0
398fcbad832b 2004-2-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 144
diff changeset
27