From 7cc1490eab3c339bf976437c27ced4b9599e0523 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 12 Jan 2022 18:17:35 +0000 Subject: added makefile --- src/verbs/install.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/verbs/install.py') 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( -- cgit v1.2.1