From 3cc1a0b58361e8049c3d724b73c0e24ef2137392 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 8 Apr 2024 12:00:08 +0900 Subject: [PATCH] Fix prefetch_dependencies fn Fixed invalid log of packages to prefetch (tried to read invalid variable name that changed from "pkg" to "pkgs"). --- update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.py b/update.py index e1e2314..ab968a5 100755 --- a/update.py +++ b/update.py @@ -2063,7 +2063,7 @@ def prepare_user_chroot(other_state: dict[str, Any]): def prefetch_dependencies(pkg_names: [str], other_state: dict[str, Any]): """Returns "fetched" on success.""" log_print( - f'Prefetching package "{pkg_name}" with "pacman -Sw"...', + f'Prefetching packages "{pkg_names}" with "pacman -Sw"...', other_state=other_state, ) command_list = ["/usr/bin/env", "sudo", "pacman", "--noconfirm", "-Sw"]