From 8956006e519022bc9640476674e638c7dd080478 Mon Sep 17 00:00:00 2001 From: Xinliang Liu Date: Thu, 2 Jul 2020 08:31:10 +0000 Subject: [PATCH] Fix string comparison String comparison should be included with square brackets. Change-Id: I9a4fab7848e5dba8a5b3b09a75e7aac213368706 --- lib/apache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/apache b/lib/apache index cc282006df..6670219a51 100644 --- a/lib/apache +++ b/lib/apache @@ -93,7 +93,7 @@ function install_apache_uwsgi { if is_ubuntu; then local pkg_list="uwsgi uwsgi-plugin-python3 libapache2-mod-proxy-uwsgi" - if "$DISTRO" == 'bionic'; then + if [[ "$DISTRO" == 'bionic' ]]; then pkg_list="${pkg_list} uwsgi-plugin-python" fi install_package ${pkg_list}