3 Commits

Author SHA1 Message Date
Clemens Schwaighofer 26cbfbe39f Merge branch 'master' of git.gullevek.org:clemens/gitea-download 2026-04-23 13:41:14 +09:00
Clemens Schwaighofer 147f3e07d1 Switch gitea download check to jq query from grep 2026-04-23 13:39:50 +09:00
clemens d32ddb1734 Fix gitea action runner target file path in init.sh
Used the wrong variable name in the error message for the gitea action runner target file path.
2025-05-28 22:59:42 +09:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ BASE_FOLDER=$(dirname "$(readlink -f "$0")")"/";
. "${BASE_FOLDER}init.sh";
download_file=$(curl -s https://api.github.com/repos/go-gitea/gitea/releases/latest |\
grep browser_download_url |\
jq ".assets[].browser_download_url" |\
cut -d '"' -f 4 |\
grep "${arch}$");
+1 -1
View File
@@ -38,7 +38,7 @@ fi;
target_file_act_runner="/usr/local/bin/act_runner";
act_runner_exists=1
if [ ! -f "${target_file_act_runner}" ]; then
echo "[!] There is no gitea action runner target file at ${target_file}. Is gitea action runner installed?";
echo "[!] There is no gitea action runner target file at ${target_file_act_runner}. Is gitea action runner installed?";
act_runner_exists=0
fi;