This commit is contained in:
Nidylei 2015-09-16 11:09:21 +08:00
Родитель 1e4ac0acaa
Коммит e5099db08c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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