summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-18 13:57:05 +0000
committerdavidovski <david@davidovski.xyz>2022-01-18 13:57:05 +0000
commit9d77f69527ba7ae30f5183b14106d92fc45220c3 (patch)
treec2327a6c114025c13e23b35bc569bca4d890d4a7 /src
parent8016039919a890790c7e2004cdb99ba07b05fa68 (diff)
fixed missing to_update
Diffstat (limited to 'src')
-rw-r--r--src/verbs/install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/verbs/install.py b/src/verbs/install.py
index 1f2487a..0d8ec3b 100644
--- a/src/verbs/install.py
+++ b/src/verbs/install.py
@@ -419,7 +419,7 @@ def install(args, options, config):
# have some interaction with sudo when necessary rather than always require it
# this check may need to be done sooner?
if util.is_root() or options["r"] != "/":
- to_install, location_failed = args, []
+ to_install, to_update, location_failed = args, [], []
if options["n"]:
for dep in to_install:
dep_checksum, dep_sources, dep_repo, size, files = find_package(dep, config["repos"], config["dir"]["packages"], config["sources"])