minor fix
This commit is contained in:
Родитель
1e4ac0acaa
Коммит
e5099db08c
|
@ -43,7 +43,7 @@ ResultLog.addHandler(WResultLog)
|
|||
def UpdateRepos(current_distro):
|
||||
RunLog.info ("\nUpdating the repositoriy information...")
|
||||
if ((current_distro == "ubuntu") or (current_distro == "Debian")):
|
||||
#method 'RunUpdate': fix deadlock when deadlock when using stdout=PIPE and/or stderr=PIPE and the child process generates enough output to a pipe
|
||||
#method 'RunUpdate': fix deadlock when using stdout=PIPE and/or stderr=PIPE and the child process generates enough output to a pipe
|
||||
RunUpdate("apt-get update")
|
||||
elif ((current_distro == "rhel") or (current_distro == "Oracle") or (current_distro == 'centos')):
|
||||
RunUpdate("yum -y update")
|
||||
|
|
Загрузка…
Ссылка в новой задаче