summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-p2p/gift-gnutella/Manifest2
-rw-r--r--net-p2p/gift-gnutella/files/cacheupdate.sh6
2 files changed, 6 insertions, 2 deletions
diff --git a/net-p2p/gift-gnutella/Manifest b/net-p2p/gift-gnutella/Manifest
index 8bc7e2f6bedb..bd9d68a9f062 100644
--- a/net-p2p/gift-gnutella/Manifest
+++ b/net-p2p/gift-gnutella/Manifest
@@ -3,4 +3,4 @@ MD5 7cec74b0299b882dc3eea20601c330a3 ChangeLog 2616
MD5 875f23093b78af2d864a7a7ba464f126 metadata.xml 223
MD5 c464f118c813212dd2f6e7ddbfd0bef4 files/digest-gift-gnutella-0.0.9.2 74
MD5 3a2b71fe09957a425acb0f40be079266 files/gift-gnutella-gcc35.patch 457
-MD5 cd1a2ac4d31dc12dc5adfa8b5d5a4277 files/cacheupdate.sh 669
+MD5 aabf4a5c1908942ac37aefe12d27cd64 files/cacheupdate.sh 806
diff --git a/net-p2p/gift-gnutella/files/cacheupdate.sh b/net-p2p/gift-gnutella/files/cacheupdate.sh
index a86eebdc65c3..3f8ce04db3fa 100644
--- a/net-p2p/gift-gnutella/files/cacheupdate.sh
+++ b/net-p2p/gift-gnutella/files/cacheupdate.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/gift-gnutella/files/cacheupdate.sh,v 1.1 2004/09/12 04:26:26 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gift-gnutella/files/cacheupdate.sh,v 1.2 2004/09/13 10:29:07 squinky86 Exp $
if [ -d ~/.giFT/Gnutella/ ]; then
cd ~/.giFT/Gnutella
@@ -10,6 +10,10 @@ if [ -d ~/.giFT/Gnutella/ ]; then
sed -i -e 's:u|::g' gwebcaches.new1
sed -i -e 's:|.*::g' gwebcaches.new1
mv gwebcaches.new1 gwebcaches
+ grep "h|" gwebcaches.new | grep -v "ph|" > nodes.new
+ sed -i -e 's:h|::g' nodes.new
+ sed -i -e 's:|.*::g' nodes.new
+ mv nodes.new nodes
rm gwebcaches.new
else
echo "Please emerge gift-gnutella and run gift-setup."