Reindent stack_pref
This commit is contained in:
@@ -531,7 +531,6 @@ def post_pref(self, apt_packages, packages):
|
||||
WOService.reload_service(self, 'nginx')
|
||||
|
||||
if set(["nginx"]).issubset(set(apt_packages)):
|
||||
|
||||
print("WordOps backend configuration was successful\n"
|
||||
"You can access it on : https://{0}:22222"
|
||||
.format(server_ip))
|
||||
@@ -1120,9 +1119,14 @@ def post_pref(self, apt_packages, packages):
|
||||
'/usr/local/bin/composer')
|
||||
WOFileUtils.chmod(self, "/usr/local/bin/composer", 0o775)
|
||||
Log.info(self, "Updating phpMyAdmin, please wait...")
|
||||
WOShellExec.cmd_exec(self, "sudo -u www-data -H composer "
|
||||
"update -n --no-dev -d "
|
||||
WOShellExec.cmd_exec(self, "/usr/local/bin/composer update --no-plugins --no-scripts "
|
||||
"-n --no-dev -d "
|
||||
"/var/www/22222/htdocs/db/pma/")
|
||||
WOFileUtils.chown(self, '{0}22222/htdocs/db/pma'
|
||||
.format(WOVariables.wo_webroot),
|
||||
WOVariables.wo_php_user,
|
||||
WOVariables.wo_php_user,
|
||||
recursive=True)
|
||||
|
||||
# netdata install
|
||||
if any('/var/lib/wo/tmp/kickstart.sh' == x[1]
|
||||
|
||||
Reference in New Issue
Block a user