diff --git a/init.sh b/init.sh index 0a2062a..90594ee 100644 --- a/init.sh +++ b/init.sh @@ -34,18 +34,18 @@ if [ ! -d "${download_folder}" ]; then exit; fi; target_file="/usr/local/bin/gitea"; -gitea_exists=1; +app_exists=1; if [ ! -f "${target_file}" ]; then echo "[!] There is no gitea target file at ${target_file}. Is gitea installed?"; - gitea_exists=0; + app_exists=0; fi; target_file_runner="/usr/local/bin/gitea-runner"; -runner_exists=1 +runner_exists=1; if [ ! -f "${target_file_runner}" ]; then echo "[!] There is no gitea runner target file at ${target_file_runner}. Is gitea runner installed?"; runner_exists=0 fi; -export arch target_file gitea_exists runner_exists; +export arch target_file app_exists runner_exists; # __END__