updated
This commit is contained in:
@@ -162,7 +162,11 @@ if ! command -v yay &>/dev/null && ! command -v paru &>/dev/null; then
|
||||
"paru" "AUR Helper paru" "OFF" \
|
||||
3>&1 1>&2 2>&3)
|
||||
|
||||
# Check if no selection was made (empty input)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "❌ ${INFO} You cancelled the selection. ${YELLOW}Goodbye!${RESET}" | tee -a "$LOG"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -z "$aur_helper" ]; then
|
||||
whiptail --title "Error" --msgbox "You must select at least one AUR helper to proceed." 10 60 2
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user