From 0142499b6b93a9d3ca02a25bc3d7f42bd256326d Mon Sep 17 00:00:00 2001 From: Alexander Gehrke Date: Wed, 8 Dec 2021 10:47:00 +0100 Subject: [PATCH] void/xrestricted: fix script using versions as package names --- void/xrestricted | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/void/xrestricted b/void/xrestricted index e1d74a0..7428a23 100755 --- a/void/xrestricted +++ b/void/xrestricted @@ -95,7 +95,7 @@ case $1 in awk '{ printf "\x1b[34m%s\x1b[0m: %s → \x1b[92m%s\x1b[0m\n", $1, $2, $3 }' <<<"$possible_updates" printf "Run updates? [y/N] " if read -q; then - for pkg in $(cut -d' ' -f 1,3 <<<"$possible_updates"); do + for pkg ver in $(cut -d' ' -f 1,3 <<<"$possible_updates"); do install_restricted $pkg $ver done fi