commit: cbf09605f5b37e9d7aed3e6546a748bf63ed7688 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Sun Feb 19 00:46:37 2017 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Sun Feb 19 00:46:37 2017 +0000 URL: https://gitweb.gentoo.org/sites/www.git/commit/?id=cbf09605
bin/update-packages: add more timeout, as still seems to sometimes hang. Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> bin/update-packages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'