diff --git a/defaults.inc b/defaults.inc index c357478..f2c5ee8 100755 --- a/defaults.inc +++ b/defaults.inc @@ -14,10 +14,10 @@ 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 +# 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 6540481..cfee3c2 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -185,11 +185,16 @@ DOWNLOAD_VIRTIO() { } DETECT_CPU(){ - 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 + # 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 + 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 [ "$(dpkg -l | awk '/proxclmc/ {print }'|wc -l)" -eq 0 ]; then apt -y install proxclmc fi