diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2016-03-23 10:40:40 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2016-03-23 10:40:40 -0700 |
commit | f8f99ed3c0186e38b142f5cfb44bc057aaac802b (patch) | |
tree | 99f6ca17561a7ea4ba288372485a3d0e2a0c7950 /bin/update-planet.sh | |
parent | Add GSoC acceptance announcement (diff) | |
download | www-f8f99ed3c0186e38b142f5cfb44bc057aaac802b.tar.gz www-f8f99ed3c0186e38b142f5cfb44bc057aaac802b.tar.bz2 www-f8f99ed3c0186e38b142f5cfb44bc057aaac802b.zip |
Add explicit timeouts to all scripts; we had a wget that was stuck for a month
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'bin/update-planet.sh')
-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 a0c8eb4..e15571d 100755 --- a/bin/update-planet.sh +++ b/bin/update-planet.sh @@ -1,6 +1,6 @@ #!/bin/bash echo -n 'Updating Planet information...' -wget 'http://planet.gentoo.org/rss20.xml' -O _data/planet.xml.tmp 2>/dev/null +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.' |