Fixes in scripts for use native python

This commit is contained in:
absurdo 2023-11-25 19:48:47 +01:00
parent 205ff97ce3
commit def162c1c9
9 changed files with 28 additions and 27 deletions

View file

@ -11,10 +11,10 @@ class ServerTask(Task):
self.files=[['modules/pastafari2/scripts/system/install_pzoo_stats.py', 0o755]]
self.files.append(['modules/pastafari2/scripts/system/install_python.sh', 0o755])
self.files.append(['modules/pastafari2/scripts/system/install_psutil.sh', 0o755])
#self.files.append(['modules/pastafari2/scripts/system/install_psutil.sh', 0o755])
self.files.append(['modules/pastafari2/scripts/system/install_git.py', 0o755])
self.files.append(['modules/pastafari2/scripts/system/install_php.py', 0o755])
self.files.append(['modules/pastafari2/scripts/system/install_unixutils.sh', 0o755])
#self.files.append(['modules/pastafari2/scripts/system/install_unixutils.sh', 0o755])
self.files.append(['modules/pastafari2/scripts/system/sudoers.d/spanel', 0o640])
self.files.append([self.data['pub_key'], 0o600])
@ -25,8 +25,8 @@ class ServerTask(Task):
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_python.sh', ''])
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_git.py', ''])
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_php.py', ''])
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_unixutils.sh', ''])
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_psutil.sh', ''])
#self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_unixutils.sh', ''])
#self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_psutil.sh', ''])
#' --url_stats='+self.data['url_stats']+