From 88f0d7c48fa8ecc538d341e7f24e26d512044ff4 Mon Sep 17 00:00:00 2001 From: "Magomed Kostoev (mkostoevr)" Date: Sun, 12 Dec 2021 14:39:30 +0000 Subject: [PATCH] [KERNEL][TEST] Only download img if not exist git-svn-id: svn://kolibrios.org@9416 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/runtests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/runtests.py b/kernel/trunk/runtests.py index 0b3a4b61d6..729b0bb21d 100755 --- a/kernel/trunk/runtests.py +++ b/kernel/trunk/runtests.py @@ -322,7 +322,9 @@ def download_umka_imgs(): ] for img in imgs: - download(f"http://ftp.kolibrios.org/users/Boppan/img/{img}", f"umka/img/{img}") + if not os.path.exists(f"umka/img/{img}"): + download(f"http://ftp.kolibrios.org/users/Boppan/img/{img}", + f"umka/img/{img}") if __name__ == "__main__": root_dir = os.getcwd()