Fix string comparison

String comparison should be included with square brackets.

Change-Id: I9a4fab7848e5dba8a5b3b09a75e7aac213368706
This commit is contained in:
Xinliang Liu 2020-07-02 08:31:10 +00:00
parent 3cbb33e5c6
commit 8956006e51
1 changed files with 1 additions and 1 deletions

View File

@ -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}