summaryrefslogtreecommitdiff
path: root/src/verbs/install.py
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-12 18:17:35 +0000
committerdavidovski <david@davidovski.xyz>2022-01-12 18:17:35 +0000
commit7cc1490eab3c339bf976437c27ced4b9599e0523 (patch)
tree16f72f8efa0d957a9a7885efc5a9abf4f9abafb7 /src/verbs/install.py
parent9466d1bdce363d8e9d3836f4c3eb982617c06aa1 (diff)
added makefile
Diffstat (limited to 'src/verbs/install.py')
-rw-r--r--src/verbs/install.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/verbs/install.py b/src/verbs/install.py
index f204633..d5bb834 100644
--- a/src/verbs/install.py
+++ b/src/verbs/install.py
@@ -161,7 +161,7 @@ def retrieve_package(sources, package_info, package_name, config, completed=0, t
else:
return package_path, source, "none", size
print(colors.RESET + colors.RED + f"No valid packages found for {package_name}" + colors.RESET)
- return ""
+ return "", "", "", 0
def parse_package_info(packageinfo):
info = {}
@@ -371,6 +371,8 @@ def install_multiple(to_install, args, options, config, terminology=("install",
completed=downloaded, total_download=length,
verbose=v, skip_verification=unsafe)
+ if package_path == "":
+ print(colors.RED + f"Failed to download {package}")
downloaded += size
pkg_files.append(