diff options
author | 2016-07-17 23:22:33 -0700 | |
---|---|---|
committer | 2016-07-17 23:22:43 -0700 | |
commit | 79e8bf3316fe2977a52e6bb8ee9de6d2aaa1583c (patch) | |
tree | 0d34b59f3f5e747035708cfd4e2bf79527c969d5 /bin | |
parent | Rework news item page (diff) | |
download | www-79e8bf3316fe2977a52e6bb8ee9de6d2aaa1583c.tar.gz www-79e8bf3316fe2977a52e6bb8ee9de6d2aaa1583c.tar.bz2 www-79e8bf3316fe2977a52e6bb8ee9de6d2aaa1583c.zip |
update-planet: wget -T timeout does not fire in some cases.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/update-planet.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update-planet.sh b/bin/update-planet.sh index e15571d..5a410cb 100755 --- a/bin/update-planet.sh +++ b/bin/update-planet.sh @@ -1,6 +1,6 @@ #!/bin/bash echo -n 'Updating Planet information...' -wget -T 60 'http://planet.gentoo.org/rss20.xml' -O _data/planet.xml.tmp 2>/dev/null +timeout 120 wget -T 60 'http://planet.gentoo.org/rss20.xml' -O _data/planet.xml.tmp 2>/dev/null [ $? -eq 0 ] && mv _data/planet.xml.tmp _data/planet.xml echo 'done.' |