Fix prefetch_dependencies fn
Fixed invalid log of packages to prefetch (tried to read invalid variable name that changed from "pkg" to "pkgs").
This commit is contained in:
parent
99f3d915c6
commit
3cc1a0b583
1 changed files with 1 additions and 1 deletions
|
@ -2063,7 +2063,7 @@ def prepare_user_chroot(other_state: dict[str, Any]):
|
||||||
def prefetch_dependencies(pkg_names: [str], other_state: dict[str, Any]):
|
def prefetch_dependencies(pkg_names: [str], other_state: dict[str, Any]):
|
||||||
"""Returns "fetched" on success."""
|
"""Returns "fetched" on success."""
|
||||||
log_print(
|
log_print(
|
||||||
f'Prefetching package "{pkg_name}" with "pacman -Sw"...',
|
f'Prefetching packages "{pkg_names}" with "pacman -Sw"...',
|
||||||
other_state=other_state,
|
other_state=other_state,
|
||||||
)
|
)
|
||||||
command_list = ["/usr/bin/env", "sudo", "pacman", "--noconfirm", "-Sw"]
|
command_list = ["/usr/bin/env", "sudo", "pacman", "--noconfirm", "-Sw"]
|
||||||
|
|
Loading…
Reference in a new issue