Update gitea download and switch to xz files

XZ files are downloaded
Change that any grep is replaced by jq command, and sed for " replace

Add systemd service files as samples
This commit is contained in:
Clemens Schwaighofer
2026-04-23 14:11:31 +09:00
parent 26cbfbe39f
commit a58e0d8de5
8 changed files with 75 additions and 11 deletions
+4
View File
@@ -1,6 +1,10 @@
#!/usr/bin/env bash
# check needed binaries
if [ -z "$(command -v xz)" ]; then
echo "Missing xz application, aborting";
exit;
fi;
if [ -z "$(command -v curl)" ]; then
echo "Missing curl application, aborting";
exit;