diff --git a/get-iso b/get-iso index fa73c75..68e25f9 100755 --- a/get-iso +++ b/get-iso @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # # @linux-aarhus - root.nix.dk -# License: GNU GPL, version 3 or later; https://www.gnu.org/licenses/gpl.html +# License: GNU GPL, version 3 or later; import argparse import shutil import subprocess @@ -17,7 +17,7 @@ from pathlib import Path DEF_URL = "https://gitlab.manjaro.org/webpage/iso-info/-/raw/master/file-info.json" FOLDER = Path.home() PROG_NAME = os.path.basename(__file__) -PROG_VERSION = "0.2" +PROG_VERSION = "0.3" GNU_URL = "https://www.gnu.org/licenses/gpl.html" REVIEW_URL = "https://api.github.com/repos/manjaro/release-review/releases/latest" review_editions = ["gnome", "kde", "xfce"] @@ -181,7 +181,6 @@ def main(): subprocess.run(["7z", "-y", "t", f"{zipname}"], cwd=f"{FOLDER}") print("Wait for checksum to complete ...") subprocess.run(["sha256sum", "-c", f"{shaname}"], cwd=f"{FOLDER}") - time.sleep(5) else: print("Download failied") sys.exit(1) @@ -193,7 +192,8 @@ def main(): if sig_result and iso_result: print("Wait for verification to complete ...") time.sleep(5) - subprocess.run(["gpg", "--verify", f'{iso["sig"].split("/")[-1]}'], cwd=f"{FOLDER}") + subprocess.run(["gpg", "--verify", f'{iso["sig"].split("/")[-1]}'], + cwd=f"{FOLDER}") else: print("Download failed") sys.exit(1)