From 34124188fc292fe3df83bb7d08cbe0ff3d3a2b3d Mon Sep 17 00:00:00 2001 From: Mike Marchetti Date: Tue, 16 Oct 2018 08:22:30 -0400 Subject: [PATCH] Fix for syntax error in package check Change-Id: I0c8e14b12a99849fe1632ac4fc73135c023bda5a Signed-off-by: Mike Marchetti --- installers/install_osm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1