From 1f92d44544998291165942ae59626ccac7731fc8 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 13 Apr 2017 12:07:57 -0400 Subject: [PATCH] Use apt_get_update after we setup UCA It is possible some CI system are using an http_proxy. Use the helper function to cover this use case. Change-Id: Iee685147ca0244fc7de328a765f937602223de20 Signed-off-by: Paul Belanger --- tools/fixup_stuff.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/fixup_stuff.sh b/tools/fixup_stuff.sh index 6f680b860e..f3ba702a3b 100755 --- a/tools/fixup_stuff.sh +++ b/tools/fixup_stuff.sh @@ -91,7 +91,9 @@ if [[ "$DISTRO" = "xenial" ]]; then # Otherwise use upstream UCA sudo add-apt-repository -y cloud-archive:ocata fi - sudo apt-get update + # Force update our APT repos, since we added UCA above. + REPOS_UPDATED=False + apt_get_update fi