summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Alexandratos <jerry@gentoo.org>2001-07-22 05:21:45 +0000
committerJerry Alexandratos <jerry@gentoo.org>2001-07-22 05:21:45 +0000
commiteaed7216d36666d324baf89d832ae5a423fcf602 (patch)
tree7989308d355681c2dcd0611a447356c623de7211 /net-ftp/ncftp
parentRemoved pkg_postinst and moved symbolic link of /usr/bin/lukemftp -> (diff)
downloadgentoo-2-eaed7216d36666d324baf89d832ae5a423fcf602.tar.gz
gentoo-2-eaed7216d36666d324baf89d832ae5a423fcf602.tar.bz2
gentoo-2-eaed7216d36666d324baf89d832ae5a423fcf602.zip
Moved cd ${D}/usr/bin to the inside of the conditional tests. No need
to perform a "cd" if there's nothing to be done.
Diffstat (limited to 'net-ftp/ncftp')
-rw-r--r--net-ftp/ncftp/ncftp-3.0.3.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-ftp/ncftp/ncftp-3.0.3.ebuild b/net-ftp/ncftp/ncftp-3.0.3.ebuild
index b15118f19f0e..0b6b140635b4 100644
--- a/net-ftp/ncftp/ncftp-3.0.3.ebuild
+++ b/net-ftp/ncftp/ncftp-3.0.3.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Jerry Alexandratos <jerry@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/ncftp/ncftp-3.0.3.ebuild,v 1.4 2001/07/22 04:55:49 jerry Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/ncftp/ncftp-3.0.3.ebuild,v 1.5 2001/07/22 05:21:45 jerry Exp $
A=${P}-src.tar.gz
S=${WORKDIR}/${P}
@@ -23,8 +23,8 @@ src_install() {
dodoc CHANGELOG FIREWALL-PROXY-README LICENSE.txt
READLINE-README README WHATSNEW-3.0
- cd ${D}/usr/bin
- if [ ! -e /usr/bin/ftp ] ;then
+ if [ ! -e /usr/bin/ftp ]; then
+ cd ${D}/usr/bin
ln -s ncftp ftp
fi
}