From 95fb4d6584d883adbfb0fe319f688eb1dbf6d921 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Sat, 25 Nov 2023 16:44:13 +0200 Subject: [PATCH] github -> gitea --- download.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/download.sh b/download.sh index f11c2fe..8ab562a 100755 --- a/download.sh +++ b/download.sh @@ -7,7 +7,7 @@ set -eu # and customized Arch Linux system. # Copyright (C) 2022 picodotdev -GITHUB_USER="picodotdev" +GITEA_USER="hartzan" BRANCH="master" HASH="" ARTIFACT="alis-${BRANCH}" @@ -34,11 +34,11 @@ done set -o xtrace if [ -n "$HASH" ]; then - curl -sL -o "${ARTIFACT}.zip" "https://github.com/${GITHUB_USER}/alis/archive/${HASH}.zip" + curl -sL -o "${ARTIFACT}.zip" "https://gitea.hartzan.com/${GITEA_USER}/alis/archive/${HASH}.zip" bsdtar -x -f "${ARTIFACT}.zip" cp -R "${ARTIFACT}"/*.sh "${ARTIFACT}"/*.conf "${ARTIFACT}"/files/ "${ARTIFACT}"/configs/ ./ else - curl -sL -o "${ARTIFACT}.zip" "https://github.com/${GITHUB_USER}/alis/archive/refs/heads/${BRANCH}.zip" + curl -sL -o "${ARTIFACT}.zip" "https://gitea.hartzan.com/${GITEA_USER}/alis/archive/refs/heads/${BRANCH}.zip" bsdtar -x -f "${ARTIFACT}.zip" cp -R "${ARTIFACT}"/*.sh "${ARTIFACT}"/*.conf "${ARTIFACT}"/files/ "${ARTIFACT}"/configs/ ./ fi