From: beierlm Date: Tue, 27 Apr 2021 19:27:53 +0000 (-0400) Subject: Correct logic for image cache X-Git-Tag: release-v10.0-start~22 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F16%2F10716%2F1;p=osm%2Fdevops.git Correct logic for image cache Fixes bug 1517 Change-Id: I968b0c79c712e8b845cf285279d9183363410a71 Signed-off-by: beierlm --- 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 }