From: Mike Marchetti Date: Tue, 16 Oct 2018 12:22:30 +0000 (-0400) Subject: Fix for syntax error in package check X-Git-Tag: v5.0.0~73 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=34124188fc292fe3df83bb7d08cbe0ff3d3a2b3d;p=osm%2Fdevops.git Fix for syntax error in package check Change-Id: I0c8e14b12a99849fe1632ac4fc73135c023bda5a Signed-off-by: Mike Marchetti --- diff --git a/installers/install_osm.sh b/installers/install_osm.sh index 2ab11d6d..899adb17 100755 --- a/installers/install_osm.sh +++ b/installers/install_osm.sh @@ -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