Neutralize variable names
This commit is contained in:
@@ -34,18 +34,18 @@ if [ ! -d "${download_folder}" ]; then
|
|||||||
exit;
|
exit;
|
||||||
fi;
|
fi;
|
||||||
target_file="/usr/local/bin/gitea";
|
target_file="/usr/local/bin/gitea";
|
||||||
gitea_exists=1;
|
app_exists=1;
|
||||||
if [ ! -f "${target_file}" ]; then
|
if [ ! -f "${target_file}" ]; then
|
||||||
echo "[!] There is no gitea target file at ${target_file}. Is gitea installed?";
|
echo "[!] There is no gitea target file at ${target_file}. Is gitea installed?";
|
||||||
gitea_exists=0;
|
app_exists=0;
|
||||||
fi;
|
fi;
|
||||||
target_file_runner="/usr/local/bin/gitea-runner";
|
target_file_runner="/usr/local/bin/gitea-runner";
|
||||||
runner_exists=1
|
runner_exists=1;
|
||||||
if [ ! -f "${target_file_runner}" ]; then
|
if [ ! -f "${target_file_runner}" ]; then
|
||||||
echo "[!] There is no gitea runner target file at ${target_file_runner}. Is gitea runner installed?";
|
echo "[!] There is no gitea runner target file at ${target_file_runner}. Is gitea runner installed?";
|
||||||
runner_exists=0
|
runner_exists=0
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
export arch target_file gitea_exists runner_exists;
|
export arch target_file app_exists runner_exists;
|
||||||
|
|
||||||
# __END__
|
# __END__
|
||||||
|
|||||||
Reference in New Issue
Block a user