Fix for syntax error in package check 05/6705/1
authorMike Marchetti <mmarchetti@sandvine.com>
Tue, 16 Oct 2018 12:22:30 +0000 (08:22 -0400)
committerMike Marchetti <mmarchetti@sandvine.com>
Tue, 16 Oct 2018 12:23:33 +0000 (08:23 -0400)
Change-Id: I0c8e14b12a99849fe1632ac4fc73135c023bda5a
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
installers/install_osm.sh

index 2ab11d6..899adb1 100755 (executable)
@@ -13,12 +13,12 @@ add_repo() {
     dpkg -l $need_packages_lw &>/dev/null \
       || ! echo -e "One or several required packages are not installed. Updating apt cache requires root privileges." \
       || sudo apt-get -q update \
-      || ! echo "failed to run apt-get update"
+      || ! echo "failed to run apt-get update" \
       || exit 1
     dpkg -l $need_packages_lw &>/dev/null \
       || ! echo -e "Installing $need_packages_lw requires root privileges." \
       || sudo apt-get install -y $need_packages_lw \
-      || ! echo "failed to install $need_packages_lw"
+      || ! echo "failed to install $need_packages_lw" \
       || exit 1
     wget -qO - $REPOSITORY_BASE/$RELEASE/OSM%20ETSI%20Release%20Key.gpg | sudo apt-key add -
     sudo DEBIAN_FRONTEND=noninteractive add-apt-repository -y "$1" && sudo DEBIAN_FRONTEND=noninteractive apt-get update