This commit is contained in:
Родитель
0f062c1107
Коммит
f2230a27d8
|
@ -223,7 +223,7 @@ if distro == "DEBIAN":
|
|||
#Test 2 : Make sure that repositories are installed.
|
||||
RunLog.info("Checking if repositories are installed or not..")
|
||||
repository_out = Run("apt-get update")
|
||||
if ("deb.debian.org" in repository_out or "debian-archive.trafficmanager.net" in repository_out) and "Hit" in repository_out:
|
||||
if ( "deb.debian.org" in repository_out or "debian-archive.trafficmanager.net" in repository_out ) and "Hit" in repository_out:
|
||||
print(distro+"_TEST_REPOSITORIES_AVAILABLE")
|
||||
else:
|
||||
print(distro+"_TEST_REPOSITORIES_ERROR")
|
||||
|
|
Загрузка…
Ссылка в новой задаче