update all for cent7

This commit is contained in:
Usman Nasir
2020-05-06 15:30:26 +05:00
parent f01678f864
commit 52301bbc79

View File

@@ -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()