Browse Source

update site_package_check for nginx-mainline

develop
Prabuddha Chakraborty 9 years ago
parent
commit
a36545f79e
  1. 2
      ee/cli/plugins/site_functions.py

2
ee/cli/plugins/site_functions.py

@ -678,7 +678,7 @@ def site_package_check(self, stype):
Log.debug(self, "Setting apt_packages variable for Nginx") Log.debug(self, "Setting apt_packages variable for Nginx")
# Check if server has nginx-custom package # Check if server has nginx-custom package
if not EEAptGet.is_installed(self, 'nginx-custom'): if not (EEAptGet.is_installed(self, 'nginx-custom') or EEAptGet.is_installed(self, 'nginx-mainline')):
# check if Server has nginx-plus installed # check if Server has nginx-plus installed
if EEAptGet.is_installed(self, 'nginx-plus'): if EEAptGet.is_installed(self, 'nginx-plus'):
# do something # do something

Loading…
Cancel
Save