From a36545f79e01c1eac1a8a04c531258b3b609505b Mon Sep 17 00:00:00 2001 From: Prabuddha Chakraborty Date: Wed, 30 Dec 2015 16:06:10 +0530 Subject: [PATCH] update site_package_check for nginx-mainline --- ee/cli/plugins/site_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index 6801ee63..be912b2a 100644 --- a/ee/cli/plugins/site_functions.py +++ b/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") # 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 if EEAptGet.is_installed(self, 'nginx-plus'): # do something