Add all files

This commit is contained in:
Clemens Schwaighofer
2024-03-29 16:50:35 +09:00
commit bfeef66b0b
4 changed files with 59 additions and 0 deletions

14
download.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
BASE_FOLDER=$(dirname "$(readlink -f "$0")")"/";
. "${BASE_FOLDER}init.sh";
cd "${download_folder}";
curl -s https://api.github.com/repos/go-gitea/gitea/releases/latest |\
grep browser_download_url |\
cut -d '"' -f 4 |\
grep "${arch}$" |\
wget -P "${download_folder}" -i -
cd -;
# __END__