diff options
author | Jerry Alexandratos <jerry@gentoo.org> | 2001-07-22 05:21:45 +0000 |
---|---|---|
committer | Jerry Alexandratos <jerry@gentoo.org> | 2001-07-22 05:21:45 +0000 |
commit | eaed7216d36666d324baf89d832ae5a423fcf602 (patch) | |
tree | 7989308d355681c2dcd0611a447356c623de7211 | |
parent | Removed pkg_postinst and moved symbolic link of /usr/bin/lukemftp -> (diff) | |
download | gentoo-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.
-rw-r--r-- | net-ftp/lukemftp/lukemftp-1.5-r1.ebuild | 2 | ||||
-rw-r--r-- | net-ftp/ncftp/ncftp-3.0.3.ebuild | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net-ftp/lukemftp/lukemftp-1.5-r1.ebuild b/net-ftp/lukemftp/lukemftp-1.5-r1.ebuild index 3461d03ccbb2..1393400cd900 100644 --- a/net-ftp/lukemftp/lukemftp-1.5-r1.ebuild +++ b/net-ftp/lukemftp/lukemftp-1.5-r1.ebuild @@ -25,8 +25,8 @@ src_install() { newman src/ftp.1 lukemftp.1 dodoc COPYING ChangeLog README* THANKS NEWS - cd ${D}/usr/bin if [ ! -e /usr/bin/ftp ]; then + cd ${D}/usr/bin ln -s lukemftp ftp fi } 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 } |