Add all files
This commit is contained in:
13
install.sh
Executable file
13
install.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BASE_FOLDER=$(dirname "$(readlink -f "$0")")"/";
|
||||
. "${BASE_FOLDER}init.sh";
|
||||
|
||||
echo -e "Update gitea to ${1} ... ";
|
||||
systemctl stop gitea;
|
||||
cp "${download_folder}gitea-${1}-${arch}" "${target_file}";
|
||||
chmod +x "${target_file}";
|
||||
systemctl start gitea;
|
||||
echo "[DONE]";
|
||||
|
||||
# __END__
|
||||
Reference in New Issue
Block a user