diff options
author | davidovski <david@davidovski.xyz> | 2022-02-06 01:23:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-06 01:23:47 +0000 |
commit | 87e7612142ddba7a0fd050aa8aea6a3cb1976671 (patch) | |
tree | 42b0ec23e227ac5fe2ed4b31cdfc1ad57df399df /src | |
parent | 859d2d064555d630697a3f086e9cb8d47b917c25 (diff) |
fixed missing VER_HASH
Diffstat (limited to 'src')
-rw-r--r-- | src/verbs/info.py | 2 | ||||
-rw-r--r-- | src/verbs/install.py | 4 |
2 files changed, 2 insertions, 4 deletions
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") - - |