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