summaryrefslogtreecommitdiff
path: root/src/verbs/install.py
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-06 01:23:47 +0000
committerdavidovski <david@davidovski.xyz>2022-02-06 01:23:47 +0000
commit87e7612142ddba7a0fd050aa8aea6a3cb1976671 (patch)
tree42b0ec23e227ac5fe2ed4b31cdfc1ad57df399df /src/verbs/install.py
parent859d2d064555d630697a3f086e9cb8d47b917c25 (diff)
fixed missing VER_HASH
Diffstat (limited to 'src/verbs/install.py')
-rw-r--r--src/verbs/install.py4
1 files changed, 1 insertions, 3 deletions
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")
-
-