Browse Source

Fixed packages reinstallation during pagespeed

bugfixes
gau1991 10 years ago
parent
commit
b4d6bb5554
  1. 2
      ee/cli/plugins/site.py
  2. 4
      ee/cli/plugins/site_functions.py
  3. 2
      ee/cli/plugins/stack.py

2
ee/cli/plugins/site.py

@ -944,7 +944,7 @@ class EESiteUpdateController(CementBaseController):
stype = 'wpsubdomain'
cache = 'wpsc'
if self.app.pargs.hhvm or self.app.pargs.hhvm:
if self.app.pargs.pagespeed or self.app.pargs.hhvm:
if not stype:
stype = oldsitetype
if not cache:

4
ee/cli/plugins/site_functions.py

@ -429,11 +429,11 @@ def site_package_check(self, stype):
stack.app = self.app
if stype in ['html', 'php', 'mysql', 'wp', 'wpsubdir', 'wpsubdomain']:
Log.debug(self, "Setting apt_packages variable for Nginx")
if EEVariables.ee_platform_distro == 'Debian':
check_nginx = 'nginx-extras'
else:
check_nginx = 'nginx-Custom'
check_nginx = 'nginx-custom'
if not EEAptGet.is_installed(self, check_nginx):
apt_packages = apt_packages + EEVariables.ee_nginx

2
ee/cli/plugins/stack.py

@ -1347,7 +1347,7 @@ class EEStackController(CementBaseController):
if EEVariables.ee_platform_distro == 'Debian':
check_nginx = 'nginx-extras'
else:
check_nginx = 'nginx-Custom'
check_nginx = 'nginx-custom'
if not EEAptGet.is_installed(self, check_nginx):
apt_packages = apt_packages + EEVariables.ee_nginx

Loading…
Cancel
Save