Update get-iso
This commit is contained in:
parent
f6eeaa1e70
commit
68a36245d5
1 changed files with 5 additions and 4 deletions
9
get-iso
9
get-iso
|
@ -12,11 +12,12 @@ import time
|
|||
import requests.exceptions
|
||||
from pathlib import Path
|
||||
|
||||
PROG_VERSION = "0.4"
|
||||
|
||||
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.5"
|
||||
GNU_URL = "https://www.gnu.org/licenses/gpl.html"
|
||||
REVIEW_URL = \
|
||||
"https://api.github.com/repos/manjaro/release-review/releases/latest"
|
||||
|
@ -193,11 +194,11 @@ def main():
|
|||
break
|
||||
|
||||
if zip_result and sha_result:
|
||||
subprocess.run(["7z", "-y", "x", f"{zipname}"],
|
||||
cwd=f"{FOLDER}")
|
||||
subprocess.run(["7z", "-y", "t", f"{zipname}"],
|
||||
cwd=f"{FOLDER}")
|
||||
print("Wait for checksum to complete ...")
|
||||
subprocess.run(["7z", "-y", "x", f"{zipname}"],
|
||||
cwd=f"{FOLDER}")
|
||||
print("\nWait for checksum to complete ...")
|
||||
subprocess.run(["sha256sum", "-c", f"{shaname}"],
|
||||
cwd=f"{FOLDER}")
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue