Browse Source

Fixed Graphivz issue in Webgrind

bugfixes
gau1991 10 years ago
parent
commit
89840c4473
  1. 3
      ee/cli/plugins/stack.py
  2. 3
      ee/core/variables.py

3
ee/cli/plugins/stack.py

@ -651,6 +651,9 @@ class EEStackController(CementBaseController):
os.makedirs('/var/www/22222/htdocs/php') os.makedirs('/var/www/22222/htdocs/php')
shutil.move('/tmp/webgrind-master/', shutil.move('/tmp/webgrind-master/',
'/var/www/22222/htdocs/php/webgrind') '/var/www/22222/htdocs/php/webgrind')
EEShellExec.cmd_exec(self, "sed -i \"s\'/usr/local/bin/dot\'"
"/usr/bin/dot\'\" /var/www/22222/htdocs/"
"php/webgrind/config.php")
Log.debug(self, "Setting Privileges of www-data:www-data to " Log.debug(self, "Setting Privileges of www-data:www-data to "
"/var/www/22222/htdocs/php/webgrind/ file ") "/var/www/22222/htdocs/php/webgrind/ file ")
# EEShellExec.cmd_exec(self, 'chown -R www-data:www-data ' # EEShellExec.cmd_exec(self, 'chown -R www-data:www-data '

3
ee/core/variables.py

@ -84,7 +84,8 @@ class EEVariables():
.format(codename=ee_platform_codename)) .format(codename=ee_platform_codename))
ee_php = ["php5-fpm", "php5-curl", "php5-gd", "php5-imap", ee_php = ["php5-fpm", "php5-curl", "php5-gd", "php5-imap",
"php5-mcrypt", "php5-xdebug", "php5-common", "php5-readline", "php5-mcrypt", "php5-xdebug", "php5-common", "php5-readline",
"php5-mysql", "php5-cli", "php5-memcache", "memcached"] "php5-mysql", "php5-cli", "php5-memcache", "memcached",
"graphviz"]
# MySQL repo and packages # MySQL repo and packages
ee_mysql_repo = ("deb http://repo.percona.com/apt {codename} main" ee_mysql_repo = ("deb http://repo.percona.com/apt {codename} main"

Loading…
Cancel
Save