Package: googleearth-package
Version: 0.7.0
Severity: wishlist
Tags: patch
Dear Maintainer,
Currently resuming an interrupted download is not supported. This can be
problematic on bad connections. I've attached a patch which allows resuming
for both curl and wget.
Glenn
-- System Information:
Debian Release: wheezy/sid
APT prefers precise-updates
APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500,
'precise-proposed'), (500, 'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 3.5.0-25-generic-tuxonice (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages googleearth-package depends on:
ii bzip2 1.0.6-1
ii curl 7.22.0-3ubuntu4
ii dpkg-dev 1.16.1.2ubuntu7
ii fakeroot 1.18.2-1
ii file 5.09-2
ii wget 1.13.4-2ubuntu1
ii x11-common 1:7.6+12ubuntu2
ii x11-utils 7.6+4ubuntu0.1
googleearth-package recommends no packages.
googleearth-package suggests no packages.
-- no debconf information
Try to resume download from partially downloaded file. This is all but
necessary for bad connections. Depends on curl_write_to_file patch.
--- make-googleearth-package~ 2013-03-05 04:10:02.223620475 +0700
+++ make-googleearth-package 2013-03-05 04:14:14.063609247 +0700
@@ -47,9 +47,9 @@
local downloader
if [ -x $wget ]; then
- downloader="$wget"
+ downloader="$wget -c"
elif [ -x $curl ]; then
- downloader="$curl -O"
+ downloader="$curl -O -C -"
else
1>&2
echo 'Either wget or curl is required to download Google Earth!'