qt: fix mystake

This commit is contained in:
zenobit 2023-12-17 15:30:27 +01:00 committed by zenobit
parent 1746488e5c
commit 41b704cb10
1 changed files with 2 additions and 1 deletions

View File

@ -358,7 +358,8 @@ test_ISOs_download() {
touch "$configdir/test"
#"$QUICKGET" | sed 1d | cut -d':' -f2 | grep -o '[^ ]*' > supported
os=$(gum filter < "$configdir"/supported)
choices=$("$QUICKGET" "$os" | sed 1d) while read -r get_name; do
choices=$("$QUICKGET" "$os" | sed 1d)
while read -r get_name; do
echo "Trying $get_name..."
mkdir -p "$configdir/_distros/$get_name" && cd "$configdir/_distros/$get_name" || exit
releases=$("$QUICKGET" "$get_name" | grep 'Releases:' | cut -d':' -f2 | sed 's/^ //' | sed 's/ *$//')