mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
update all for cent7
This commit is contained in:
@@ -83,8 +83,12 @@ class ApplicationInstaller(multi.Thread):
|
||||
|
||||
f.close()
|
||||
elif ProcessUtilities.decideDistro() == ProcessUtilities.centos:
|
||||
command = 'yum update %s -y' % (package)
|
||||
f.write(ProcessUtilities.outputExecutioner(command))
|
||||
if package == 'all':
|
||||
command = 'yum update -y'
|
||||
f.write(ProcessUtilities.outputExecutioner(command))
|
||||
else:
|
||||
command = 'yum update %s -y' % (package)
|
||||
f.write(ProcessUtilities.outputExecutioner(command))
|
||||
|
||||
f.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user