commit | 8956006e519022bc9640476674e638c7dd080478 | [log] [tgz] |
---|---|---|
author | Xinliang Liu <xinliang.liu@linaro.org> | Thu Jul 02 08:31:10 2020 +0000 |
committer | Xinliang Liu <xinliang.liu@linaro.org> | Thu Jul 02 08:34:01 2020 +0000 |
tree | 5a14a5274bc7bb99cb1fb993f768ddbc0290cb9c | |
parent | 3cbb33e5c6068d80c50f64a543550611eca8309a [diff] [blame] |
Fix string comparison String comparison should be included with square brackets. Change-Id: I9a4fab7848e5dba8a5b3b09a75e7aac213368706
diff --git a/lib/apache b/lib/apache index cc28200..6670219 100644 --- a/lib/apache +++ b/lib/apache
@@ -93,7 +93,7 @@ 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}