summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2002-11-11 14:40:12 +0000
committerMartin Holzer <mholzer@gentoo.org>2002-11-11 14:40:12 +0000
commita51afd86696aefa3cf86b55a8ef4b27a103148a8 (patch)
treed821e529f7d3f45c9924f1f395771b28b4df2a9d /app-admin/gentoolkit/files
parentfix for bug #9996 (diff)
downloadgentoo-2-a51afd86696aefa3cf86b55a8ef4b27a103148a8.tar.gz
gentoo-2-a51afd86696aefa3cf86b55a8ef4b27a103148a8.tar.bz2
gentoo-2-a51afd86696aefa3cf86b55a8ef4b27a103148a8.zip
emerge-webrsync fixed
Diffstat (limited to 'app-admin/gentoolkit/files')
-rw-r--r--app-admin/gentoolkit/files/digest-gentoolkit-0.1.17-r30
-rw-r--r--app-admin/gentoolkit/files/scripts/ChangeLog3
-rw-r--r--app-admin/gentoolkit/files/scripts/emerge-webrsync2
3 files changed, 4 insertions, 1 deletions
diff --git a/app-admin/gentoolkit/files/digest-gentoolkit-0.1.17-r3 b/app-admin/gentoolkit/files/digest-gentoolkit-0.1.17-r3
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/app-admin/gentoolkit/files/digest-gentoolkit-0.1.17-r3
diff --git a/app-admin/gentoolkit/files/scripts/ChangeLog b/app-admin/gentoolkit/files/scripts/ChangeLog
new file mode 100644
index 000000000000..62a9c9b65d7b
--- /dev/null
+++ b/app-admin/gentoolkit/files/scripts/ChangeLog
@@ -0,0 +1,3 @@
+2002-11-11 Martin Holzer <mholzer@gentoo.org>
+ * fix emerge-webrsync 0 byte bug
+
diff --git a/app-admin/gentoolkit/files/scripts/emerge-webrsync b/app-admin/gentoolkit/files/scripts/emerge-webrsync
index 08c96f1ac261..2c427beee368 100644
--- a/app-admin/gentoolkit/files/scripts/emerge-webrsync
+++ b/app-admin/gentoolkit/files/scripts/emerge-webrsync
@@ -58,7 +58,7 @@ while (( $attempts < 40 )) ; do
url="${i}/snapshots/$file"
rm -f $file
- if (wget $wgetops $url) ; then
+ if (wget $wgetops $url) && [ -s $file ] ; then
sync_local
exit 0
fi