diff options
author | Jon Hood <squinky86@gentoo.org> | 2004-07-30 18:53:56 +0000 |
---|---|---|
committer | Jon Hood <squinky86@gentoo.org> | 2004-07-30 18:53:56 +0000 |
commit | 20ff9a95c8404de21725697f7423b42c8087be4a (patch) | |
tree | 9fbccfa84736c58eebc7da7d8d0d8d8e9a3b4b7d /net-p2p/freenet/freenet-0.5.2.1-r8.ebuild | |
parent | move dev-java/blackdown-java3d dev-java/blackdown-java3d-bin (diff) | |
download | historical-20ff9a95c8404de21725697f7423b42c8087be4a.tar.gz historical-20ff9a95c8404de21725697f7423b42c8087be4a.tar.bz2 historical-20ff9a95c8404de21725697f7423b42c8087be4a.zip |
backup old version when using ebuild config feature (#58726)
Diffstat (limited to 'net-p2p/freenet/freenet-0.5.2.1-r8.ebuild')
-rw-r--r-- | net-p2p/freenet/freenet-0.5.2.1-r8.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild b/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild index c6d4fe68eaaa..82922b5fe23e 100644 --- a/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild +++ b/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild,v 1.5 2004/06/25 00:31:07 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild,v 1.6 2004/07/30 18:53:56 squinky86 Exp $ inherit eutils @@ -79,9 +79,11 @@ pkg_config() { einfo "Press U within 2 seconds to try an unstable snapshot" read -n 1 -t 2 YN if [ "${YN}" == "U" ] || [ "${YN}" == "u" ]; then + cp -f /usr/lib/freenet/freenet.jar /usr/lib/freenet/freenet.jar.old wget http://freenetproject.org/snapshots/freenet-unstable-latest.jar -O /usr/lib/freenet/freenet.jar wget http://freenetproject.org/snapshots/unstable.ref -O /var/freenet/seednodes.ref else + cp -f /usr/lib/freenet/freenet.jar /usr/lib/freenet/freenet.jar.old wget http://freenetproject.org/snapshots/freenet-latest.jar -O /usr/lib/freenet/freenet.jar wget http://freenetproject.org/snapshots/seednodes.ref -O /var/freenet/seednodes.ref fi |