commit 6ece95873e5ae6edc4e92eb77712e3dbeb6f3fd1 parent e4e7eae37fb25c3a2c121bbf11265b1b3d583f5b Author: Wim Dupont <wim@wimdupont.com> Date: Sat, 27 Apr 2024 19:45:00 +0200 fix var name Diffstat:
M | bin/auru | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/auru b/bin/auru @@ -13,11 +13,11 @@ for aur in "${AUR_LIST[@]}"; do makepkg -rcsi - readarray -td '' custom_wads < <( + readarray -td '' aur_files < <( printf -- 'choice\0%s\0' "${aur}/"* ) - IFS='|' read -ra to_delete <<< $(zenity --list --checklist --multiple --width=400 --height=500 --column=Choice --column=AUR --title "Select old-version files to delete." "${custom_wads[@]}") + IFS='|' read -ra to_delete <<< $(zenity --list --checklist --multiple --width=400 --height=500 --column=Choice --column=AUR --title "Select old-version files to delete." "${aur_files[@]}") for file_to_delete in "${to_delete[@]}"; do rm -rfv "${file_to_delete}"