From 87e7612142ddba7a0fd050aa8aea6a3cb1976671 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 6 Feb 2022 01:23:47 +0000 Subject: fixed missing VER_HASH --- src/verbs/info.py | 2 +- src/verbs/install.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/verbs') diff --git a/src/verbs/info.py b/src/verbs/info.py index fed9a77..552df24 100644 --- a/src/verbs/info.py +++ b/src/verbs/info.py @@ -36,7 +36,7 @@ def package_info(package, config, options): print(colors.CYAN + "\tDescription: " + colors.LIGHT_CYAN + f"{info['DESCRIPTION']}") print(colors.CYAN + "\tRepo: " + colors.LIGHT_CYAN + f"{repo}") print(colors.CYAN + "\tChecksum: " + colors.LIGHT_CYAN + f"{info['CHECKSUM']}") - print(colors.CYAN + "\tVersion Hash: " + colors.LIGHT_CYAN + f"{info['VER_HASH']}") + print(colors.CYAN + "\tVersion Hash: " + colors.LIGHT_CYAN + f"{info['VERSION']}") print(colors.CYAN + "\tBuild Date: " + colors.LIGHT_CYAN + f"{info['DATE']}") print(colors.CYAN + "\tSource: " + colors.LIGHT_CYAN + f"{info['SOURCE']}") print(colors.CYAN + "\tDependencies: " + colors.LIGHT_CYAN + f"{info['DEPS']}") diff --git a/src/verbs/install.py b/src/verbs/install.py index 3b2c2c4..1d0d256 100644 --- a/src/verbs/install.py +++ b/src/verbs/install.py @@ -289,7 +289,7 @@ def save_installed_info(package_name, package_info, description = package_info["DESCRIPTION"] if "DESCRIPTION" in package_info else "" installed_checksum = package_info["CHECKSUM"] build_date = package_info["DATE"] - version = package_info["VER_HASH"] + version = package_info["VERSION"] installed_date = os.popen("date").read() package_url = util.add_path(source_url, repo, package_name + ".xipkg") @@ -467,5 +467,3 @@ def install(args, options, config): print(colors.LIGHT_BLACK + "Nothing to do") else: print(colors.RED + "Root is required to install packages") - - -- cgit v1.2.1