Fix phpredisadmin install
This commit is contained in:
@@ -1377,7 +1377,8 @@ class WOStackController(CementBaseController):
|
||||
# phpredisadmin
|
||||
if any('/var/lib/wo/tmp/pra.tar.gz' == x[1]
|
||||
for x in packages):
|
||||
if not os.path.exists('{0}22222/htdocs/cache/redis'
|
||||
if not os.path.exists('{0}22222/htdocs/cache/'
|
||||
'redis/phpRedisAdmin'
|
||||
.format(WOVariables.wo_webroot)):
|
||||
Log.debug(self, "Creating new directory "
|
||||
"{0}22222/htdocs/cache/redis"
|
||||
|
||||
@@ -85,12 +85,7 @@ class WOVariables():
|
||||
# WordOps stack installation variables
|
||||
# Nginx repo and packages
|
||||
if wo_distro == 'ubuntu':
|
||||
if wo_platform_codename == 'trusty':
|
||||
wo_nginx_repo = ("deb http://download.opensuse.org"
|
||||
"/repositories/home:"
|
||||
"/virtubox:/WordOps/xUbuntu_14.04/ /")
|
||||
else:
|
||||
wo_nginx_repo = "ppa:wordops/nginx-wo"
|
||||
wo_nginx_repo = "ppa:wordops/nginx-wo"
|
||||
elif wo_distro == 'debian':
|
||||
if wo_platform_codename == 'jessie':
|
||||
wo_nginx_repo = ("deb http://download.opensuse.org"
|
||||
|
||||
Reference in New Issue
Block a user