forked from KolibriOS/kolibrios
[KERNEL][TEST] Only download img if not exist
git-svn-id: svn://kolibrios.org@9416 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
65cd85761c
commit
88f0d7c48f
@ -322,7 +322,9 @@ def download_umka_imgs():
|
|||||||
]
|
]
|
||||||
|
|
||||||
for img in 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__":
|
if __name__ == "__main__":
|
||||||
root_dir = os.getcwd()
|
root_dir = os.getcwd()
|
||||||
|
Loading…
Reference in New Issue
Block a user