This commit is contained in:
2026-03-13 19:39:57 -05:00
parent 2a59ca007d
commit 1ebea7f941
2 changed files with 16 additions and 11 deletions

View File

@@ -14,10 +14,10 @@ done
VIRTIO_FILE=${VIRTIO_DOWNLOAD_URL##*/} VIRTIO_FILE=${VIRTIO_DOWNLOAD_URL##*/}
if [ -f /etc/apt/sources.list.d/gyptazy.list ]; then # if [ -f /etc/apt/sources.list.d/gyptazy.list ]; then
rm -f /etc/apt/sources.list.d/gyptazy.list /etc/apt/keyrings/gyptazy.asc # 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 # 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 # wget -O /etc/apt/trusted.gpg.d/proxlb.asc https://repo.gyptazy.com/repository.gpg
apt-get update # apt-get update
fi # fi

View File

@@ -185,10 +185,15 @@ DOWNLOAD_VIRTIO() {
} }
DETECT_CPU(){ DETECT_CPU(){
if [ ! -f /etc/apt/sources.list.d/proxlb.list ]; then # if [ ! -f /etc/apt/sources.list.d/proxlb.list ]; then
echo "deb https://repo.gyptazy.com/stable /" > /etc/apt/sources.list.d/proxlb.list # 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 # wget -O /etc/apt/trusted.gpg.d/proxlb.asc https://repo.gyptazy.com/repository.gpg
apt-get update # apt-get update
# fi
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 fi
if [ "$(dpkg -l | awk '/proxclmc/ {print }'|wc -l)" -eq 0 ]; then if [ "$(dpkg -l | awk '/proxclmc/ {print }'|wc -l)" -eq 0 ]; then
apt -y install proxclmc apt -y install proxclmc