From 7c53968db43473c28b042d60ef0f9f775a9a838f Mon Sep 17 00:00:00 2001 From: beierlm Date: Tue, 27 Apr 2021 15:27:53 -0400 Subject: [PATCH] Correct logic for image cache Fixes bug 1517 Change-Id: I968b0c79c712e8b845cf285279d9183363410a71 Signed-off-by: beierlm --- installers/full_install_osm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 213db756..321a794c 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -452,7 +452,7 @@ function install_juju() { echo "Installing juju" sudo snap install juju --classic --channel=2.8/stable [[ ":$PATH": != *":/snap/bin:"* ]] && PATH="/snap/bin:${PATH}" - [ -n "$INSTALL_NOCACHELXDIMAGES" ] && update_juju_images + [ -n "$INSTALL_NOCACHELXDIMAGES" ] || update_juju_images echo "Finished installation of juju" return 0 } -- 2.25.1