From 3fe752a358814ae3c5089a9dda40e34f8b0550c7 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 13 Mar 2026 19:32:06 -0500 Subject: [PATCH] update --- defaults.inc | 10 +++++++++- proxmenu-scripts.sh | 12 ++++++------ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/defaults.inc b/defaults.inc index 2fdfb6f..7ba11d1 100755 --- a/defaults.inc +++ b/defaults.inc @@ -3,7 +3,7 @@ action="$1" FOLDER='/opt/idssys/ta-proxmenu' -VERS='2026.3.11-1' +VERS='2026.3.13-1' RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) @@ -13,3 +13,11 @@ while redirect_url=$( curl -I -s -S -f -w "%{redirect_url}\\n" -o /dev/null "${u done VIRTIO_FILE=${VIRTIO_DOWNLOAD_URL##*/} + +if [ -f /etc/apt/sources.list.d/gyptazy.list ]; then + rm -f /etc/apt/sources.list.d/gyptazy.list /etc/apt/keyrings/gyptazy.asc + echo "deb https://repo.gyptazy.com/stable /" > /etc/apt/sources.list.d/proxlb.list + wget -O /etc/apt/trusted.gpg.d/proxlb.asc https://repo.gyptazy.com/repository.gpg + apt-get update +fi + diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index b41761d..9b86c21 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -185,11 +185,11 @@ DOWNLOAD_VIRTIO() { } DETECT_CPU(){ - if [ ! -f /etc/apt/sources.list.d/gyptazy.list ]; then - curl https://git.gyptazy.com/api/packages/gyptazy/debian/repository.key -o /etc/apt/keyrings/gyptazy.asc - echo "deb [signed-by=/etc/apt/keyrings/gyptazy.asc] https://packages.gyptazy.com/api/packages/gyptazy/debian trixie main" | sudo tee -a /etc/apt/sources.list.d/gyptazy.list - apt update - fi + if [ ! -f /etc/apt/sources.list.d/proxlb.list ]; then + echo "deb https://repo.gyptazy.com/stable /" > /etc/apt/sources.list.d/proxlb.list + wget -O /etc/apt/trusted.gpg.d/proxlb.asc https://repo.gyptazy.com/repository.gpg + apt-get update + fi apt -y install proxclmc echo @@ -251,7 +251,7 @@ MAIN_MENU() { do clear echo - echo -e " ${idsCL[Green]}TA-Proxmenu - Proxmox Setup Scripts${idsCL[Default]} ${idsCL[Default]}${VERS}" + echo -e " ${idsCL[Green]}TA-Proxmenu - Proxmox Setup Scripts${idsCL[Default]} ${idsCL[Default]}${VERS}" echo -e "${idsCL[Green]}---------------------------------------------------------------------------${idsCL[Default]}" echo -e "Hostname: ${idsCL[Cyan]}$(hostname -s)${idsCL[Default]}" echo -e "IP Address: ${idsCL[Cyan]}${RNIP}${idsCL[Default]}"