aboutsummaryrefslogtreecommitdiff
path: root/linaro-hwpack-install
diff options
context:
space:
mode:
authorJames Tunnicliffe <james.tunnicliffe@linaro.org>2013-02-21 14:40:45 +0000
committerJames Tunnicliffe <james.tunnicliffe@linaro.org>2013-02-21 14:40:45 +0000
commit27dbfcb36b092f4c406c40d2f70bcac46bd0a3a3 (patch)
treeaf552425d91dfe6eb19b86c28289a3eece35cd6d /linaro-hwpack-install
parent79371b976d25c2fcfd4831fc68e5106bdc0bfae4 (diff)
Slightly updated apt-get update call to try harder to complete without a net connection
Diffstat (limited to 'linaro-hwpack-install')
-rwxr-xr-xlinaro-hwpack-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/linaro-hwpack-install b/linaro-hwpack-install
index 2cbf1e7..a6e0e96 100755
--- a/linaro-hwpack-install
+++ b/linaro-hwpack-install
@@ -181,7 +181,7 @@ setup_apt_sources() {
# - If can't download package updates (the only difference between the two
# commands), we should still be OK.
echo "Updating apt package lists ..."
- $sudo apt-get $FORCE_OPTIONS -o "$APT_GET_OPTIONS" update -q --no-download
+ $sudo apt-get $FORCE_OPTIONS -o "$APT_GET_OPTIONS" update -q --no-download --ignore-missing
$sudo apt-get $FORCE_OPTIONS -o "$APT_GET_OPTIONS" update -q || true
}
@@ -297,7 +297,7 @@ cleanup() {
# * Second update may fail
# - If can't download package updates (the only difference between the two
# commands), we should still be OK.
- $sudo apt-get update -qq --no-download
+ $sudo apt-get update -qq --no-download --ignore-missing
$sudo apt-get update -qq || true
fi
echo "Done"