Fix string comparison
String comparison should be included with square brackets. Change-Id: I9a4fab7848e5dba8a5b3b09a75e7aac213368706
This commit is contained in:
parent
3cbb33e5c6
commit
8956006e51
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user