Correct logic for image cache 16/10716/1
authorbeierlm <mark.beierl@canonical.com>
Tue, 27 Apr 2021 19:27:53 +0000 (15:27 -0400)
committerbeierlm <mark.beierl@canonical.com>
Tue, 27 Apr 2021 19:27:53 +0000 (15:27 -0400)
Fixes bug 1517

Change-Id: I968b0c79c712e8b845cf285279d9183363410a71
Signed-off-by: beierlm <mark.beierl@canonical.com>
installers/full_install_osm.sh

index 213db75..321a794 100755 (executable)
@@ -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
 }