Fixed menu issue

This commit is contained in:
TessaiMusa 2021-10-20 20:27:59 +05:30
parent d16fe3b9ef
commit d169270f58

4
archfi
View file

@ -800,8 +800,8 @@ rankmirrorlist() {
pacman -S --noconfirm reflector pacman -S --noconfirm reflector
} }
options=() options=()
options+=("Filter mirrorlist") options+=("Filter mirrorlist" "")
options+=("Edit /etc/xdg/reflector/reflector.conf") options+=("Edit /etc/xdg/reflector/reflector.conf" "")
sel=$(whiptail --backtitle "${apptitle}" --title "${txtinstallmenu}" --menu "" --cancel-button "${txtback}" --default-item "Filter mirrorlist" 0 0 0 \ sel=$(whiptail --backtitle "${apptitle}" --title "${txtinstallmenu}" --menu "" --cancel-button "${txtback}" --default-item "Filter mirrorlist" 0 0 0 \
"${options[@]}" \ "${options[@]}" \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)