From 5bfe80e26bbf0c5b46d528031034b787303a36cb Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 30 Apr 2026 22:25:31 -0500 Subject: [PATCH] update --- defaults.inc | 4 ++-- proxmenu-scripts.sh | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/defaults.inc b/defaults.inc index 67082af..7e1532f 100755 --- a/defaults.inc +++ b/defaults.inc @@ -3,14 +3,14 @@ action="$1" FOLDER='/opt/idssys/ta-proxmenu' -VERS='2026.4.30-2' +VERS='2026.4.30-4' noupdate=' restart cpu mm ' RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) -VIRTIO_URL="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso" +VIRTIO_DOWNLOAD_URL="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso" diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index bd8356b..2b14871 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -174,13 +174,7 @@ INSTALL_OMSA() { } DOWNLOAD_VIRTIO() { - while redirect_url=$( curl -I -s -S -f -w "%{redirect_url}\\n" -o /dev/null "${VIRTIO_URL}" ); do - if [ ${redirect_url} != "" ]; then - VIRTIO_DOWNLOAD_URL=${redirect_url} - VIRTIO_FILE=${redirect_url##*/} - break - fi - done + VIRTIO_FILE=${VIRTIO_DOWNLOAD_URL##*/} echo -e "\n${idsCL[LightCyan]}Current \"Stable\" version available for download: ${idsCL[White]}${VIRTIO_FILE}${idsCL[Default]}" echo $VIRTIO_DOWNLOAD_URL