From 896091a7da559173230a0fa737691ec2e896fe11 Mon Sep 17 00:00:00 2001 From: SamNet-dev Date: Tue, 24 Feb 2026 05:36:58 -0600 Subject: [PATCH] fix: update GFK and self-update URLs from GitHub to Gitea GitHub account suspended - GFK download and management script self-update were hitting raw.githubusercontent.com (404). Changed to git.samnet.dev raw URLs. --- paqctl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paqctl.sh b/paqctl.sh index 90d6f9f..29c6763 100644 --- a/paqctl.sh +++ b/paqctl.sh @@ -42,7 +42,7 @@ INSTALL_DIR="${INSTALL_DIR:-/opt/paqctl}" BACKUP_DIR="$INSTALL_DIR/backups" GFK_REPO="SamNet-dev/paqctl" GFK_BRANCH="main" -GFK_RAW_URL="https://raw.githubusercontent.com/${GFK_REPO}/${GFK_BRANCH}/gfk" +GFK_RAW_URL="https://git.samnet.dev/${GFK_REPO}/raw/branch/${GFK_BRANCH}/gfk" GFK_DIR="$INSTALL_DIR/gfk" MICROSOCKS_REPO="rofl0r/microsocks" BACKEND="${BACKEND:-paqet}" @@ -2239,7 +2239,7 @@ PAQET_REPO="hanselime/paqet" PAQET_API_URL="https://api.github.com/repos/${PAQET_REPO}/releases/latest" GFK_REPO="SamNet-dev/paqctl" GFK_BRANCH="main" -GFK_RAW_URL="https://raw.githubusercontent.com/${GFK_REPO}/${GFK_BRANCH}/gfk" +GFK_RAW_URL="https://git.samnet.dev/${GFK_REPO}/raw/branch/${GFK_BRANCH}/gfk" GFK_DIR="$INSTALL_DIR/gfk" MICROSOCKS_REPO="rofl0r/microsocks" @@ -4356,7 +4356,7 @@ rollback_paqet() { } update_management_script() { - local update_url="https://raw.githubusercontent.com/SamNet-dev/paqctl/main/paqctl.sh" + local update_url="https://git.samnet.dev/SamNet-dev/paqctl/raw/branch/main/paqctl.sh" local tmp_script tmp_script=$(mktemp "/tmp/paqctl-update-XXXXXXXX.sh")