Browse code

Fix string comparison

String comparison should be included with square brackets.

Change-Id: I9a4fab7848e5dba8a5b3b09a75e7aac213368706

Xinliang Liu authored on 2020/07/02 17:31:10
Showing 1 changed files
... ...
@@ -93,7 +93,7 @@ function install_apache_uwsgi {
93 93
 
94 94
     if is_ubuntu; then
95 95
         local pkg_list="uwsgi uwsgi-plugin-python3 libapache2-mod-proxy-uwsgi"
96
-        if "$DISTRO" == 'bionic'; then
96
+        if [[ "$DISTRO" == 'bionic' ]]; then
97 97
             pkg_list="${pkg_list} uwsgi-plugin-python"
98 98
         fi
99 99
         install_package ${pkg_list}