diff options
author | Jon Hood <squinky86@gentoo.org> | 2004-09-13 10:29:07 +0000 |
---|---|---|
committer | Jon Hood <squinky86@gentoo.org> | 2004-09-13 10:29:07 +0000 |
commit | 29c9721b0a4d573a6e34aa0ef520fb63b4a5b053 (patch) | |
tree | ee46646be077e20c5e892fb585927adedee87149 /net-p2p/gift-gnutella/files | |
parent | More flexable patch and a few more checks (diff) | |
download | historical-29c9721b0a4d573a6e34aa0ef520fb63b4a5b053.tar.gz historical-29c9721b0a4d573a6e34aa0ef520fb63b4a5b053.tar.bz2 historical-29c9721b0a4d573a6e34aa0ef520fb63b4a5b053.zip |
fix node updating script
Diffstat (limited to 'net-p2p/gift-gnutella/files')
-rw-r--r-- | net-p2p/gift-gnutella/files/cacheupdate.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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." |