fix other stack shmove
This commit is contained in:
@@ -1101,6 +1101,8 @@ class WOStackController(CementBaseController):
|
||||
.format(WOVariables.wo_webroot))
|
||||
os.makedirs('{0}22222/htdocs/php'
|
||||
.format(WOVariables.wo_webroot))
|
||||
if not os.path.exists('{0}22222/htdocs/php/webgrind'
|
||||
.format(WOVariables.wo_webroot)):
|
||||
shutil.move('/tmp/webgrind-master/',
|
||||
'{0}22222/htdocs/php/webgrind'
|
||||
.format(WOVariables.wo_webroot))
|
||||
@@ -1139,6 +1141,8 @@ class WOStackController(CementBaseController):
|
||||
Log.debug(self, "Creating directory")
|
||||
os.makedirs('{0}22222/htdocs/db/'
|
||||
.format(WOVariables.wo_webroot))
|
||||
if not os.path.exists('{0}22222/htdocs/db/anemometer'
|
||||
.format(WOVariables.wo_webroot)):
|
||||
shutil.move('/tmp/Anemometer-master',
|
||||
'{0}22222/htdocs/db/anemometer'
|
||||
.format(WOVariables.wo_webroot))
|
||||
@@ -1192,6 +1196,9 @@ class WOStackController(CementBaseController):
|
||||
.format(WOVariables.wo_webroot))
|
||||
os.makedirs('{0}22222/htdocs/cache/redis'
|
||||
.format(WOVariables.wo_webroot))
|
||||
if not os.path.exists('{0}22222/htdocs/cache/'
|
||||
'redis/phpRedisAdmin'
|
||||
.format(WOVariables.wo_webroot)):
|
||||
shutil.move('/tmp/phpRedisAdmin-master/',
|
||||
'{0}22222/htdocs/cache/redis/phpRedisAdmin'
|
||||
.format(WOVariables.wo_webroot))
|
||||
@@ -1200,7 +1207,8 @@ class WOStackController(CementBaseController):
|
||||
'loaction /tmp/')
|
||||
WOExtract.extract(self, '/tmp/predis.tar.gz', '/tmp/')
|
||||
shutil.move('/tmp/predis-1.0.1/',
|
||||
'{0}22222/htdocs/cache/redis/phpRedisAdmin/vendor'
|
||||
'{0}22222/htdocs/cache/redis/'
|
||||
'phpRedisAdmin/vendor'
|
||||
.format(WOVariables.wo_webroot))
|
||||
|
||||
Log.debug(self, 'Setting Privileges of webroot permission to '
|
||||
|
||||
Reference in New Issue
Block a user