diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index 94eb89a..d90945e 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -304,13 +304,13 @@ MAIN_MENU() { else echo -e "${idsCL[DarkGray]} [2] Pulse Monitoring is already installed${idsCL[Default]}" fi - # if [ -f /var/lib/vz/template/iso/${VIRTIO_FILE} ]; then + if [ -f /var/lib/vz/template/iso/${VIRTIO_FILE} ]; then echo -e "${idsCL[DarkGray]} [3] Current VirtIO drivers already downloaded to 'local' on this host${idsCL[Default]}" - # elif [ -f /var/lib/vz/template/iso/virtio*.iso ]; then - # echo -e "${idsCL[White]} [${idsCL[LightYellow]}3${idsCL[Default]}] ${idsCL[LightGreen]}**${idsCL[White]}Download the available updated Win-VirtIO drivers to 'local' on this host${idsCL[Default]}" - # else - # echo -e "${idsCL[White]} [${idsCL[LightYellow]}3${idsCL[Default]}] ${idsCL[White]}Download the current Win-VirtIO drivers to 'local' on this host${idsCL[Default]}" - # fi + elif [ -f /var/lib/vz/template/iso/virtio*.iso ]; then + echo -e "${idsCL[White]} [${idsCL[LightYellow]}3${idsCL[Default]}] ${idsCL[LightGreen]}**${idsCL[White]}Download the available updated Win-VirtIO drivers to 'local' on this host${idsCL[Default]}" + else + echo -e "${idsCL[White]} [${idsCL[LightYellow]}3${idsCL[Default]}] ${idsCL[White]}Download the current Win-VirtIO drivers to 'local' on this host${idsCL[Default]}" + fi if ! command -v glances &> /dev/null; then echo -e "${idsCL[White]} [${idsCL[LightYellow]}4${idsCL[Default]}] ${idsCL[White]}Install Glances (CLI Monitor)${idsCL[Default]}" else