diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2017-02-18 16:46:37 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2017-02-18 16:46:37 -0800 |
commit | cbf09605f5b37e9d7aed3e6546a748bf63ed7688 (patch) | |
tree | 2e29348370401ac638c804fa5b5b0d3506547784 /bin | |
parent | Add news announcement on FOSDEM Gentoo dev talks. (diff) | |
download | www-cbf09605f5b37e9d7aed3e6546a748bf63ed7688.tar.gz www-cbf09605f5b37e9d7aed3e6546a748bf63ed7688.tar.bz2 www-cbf09605f5b37e9d7aed3e6546a748bf63ed7688.zip |
bin/update-packages: add more timeout, as still seems to sometimes hang.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/update-packages.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update-packages.sh b/bin/update-packages.sh index b2577bd..8a267a2 100755 --- a/bin/update-packages.sh +++ b/bin/update-packages.sh @@ -1,6 +1,6 @@ #!/bin/bash echo -n 'Updating Packages information...' -wget -T 60 'https://packages.gentoo.org/packages/added.atom' -O _data/packages.xml.tmp 2>/dev/null +timeout 60 wget -T 60 'https://packages.gentoo.org/packages/added.atom' -O _data/packages.xml.tmp 2>/dev/null [ $? -eq 0 ] && mv _data/packages.xml.tmp _data/packages.xml echo 'done.' |