From 13919948be3b05bd6d3632d5cbb0b378c29fdba1 Mon Sep 17 00:00:00 2001 From: Marco Molteni Date: Sun, 18 Dec 2016 14:28:53 +0100 Subject: [PATCH] Add missing double quotes --- bootstrap-salt.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 2c61cba..dfeccea 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -1459,10 +1459,9 @@ if ([ "${DISTRO_NAME_L}" != "ubuntu" ] && [ $_PIP_ALL -eq $BS_TRUE ]);then exit 1 fi -# Hack proof of concept. Feel free to refactor properly. -# Starting from Ubuntu 16.01, gnupg-curl has been renamed to gnupg1-curl. +# Starting from Ubuntu 16.10, gnupg-curl has been renamed to gnupg1-curl. GNUPG_CURL="gnupg-curl" -if ([ "${DISTRO_NAME_L}" = "ubuntu" ] && [ ${DISTRO_VERSION} = "16.10" ]); then +if ([ "${DISTRO_NAME_L}" = "ubuntu" ] && [ "${DISTRO_VERSION}" = "16.10" ]); then GNUPG_CURL="gnupg1-curl" fi