Browse Source

Fixed data is not defined in Pagespeed config

bugfixes
gau1991 10 years ago
parent
commit
14f105dac2
  1. 2
      ee/cli/plugins/site_functions.py

2
ee/cli/plugins/site_functions.py

@ -469,7 +469,7 @@ def site_package_check(self, stype):
# Check if Nginx is allready installed and Pagespeed config there or not
# If not then copy pagespeed config
if data and self.app.pargs.pagespeed:
if self.app.pargs.pagespeed:
if (os.path.isdir('/etc/nginx') and
(not os.path.isfile('/etc/nginx/conf.d/pagespeed.conf'))):
# Pagespeed configuration

Loading…
Cancel
Save