This commit is contained in:
2026-03-13 19:32:06 -05:00
parent 623b212ebe
commit 3fe752a358
2 changed files with 15 additions and 7 deletions

View File

@@ -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

View File

@@ -185,10 +185,10 @@ 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
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