🗃️ Committing everything that changed 🗃️

rootfs/root/docker/setup/05-custom.sh
This commit is contained in:
casjay 2024-08-11 16:16:42 -04:00
parent b8e35342e9
commit 596083b29a
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -39,7 +39,8 @@ fi
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Main script
echo "Dowloading gitea from $GITEA_URL"
if curl -q -LSsf "$GITEA_URL" -o "$GITEA_BIN_FILE"; then
if curl -q -LSsf "$GITEA_URL" -o "/tmp/gitea.$$"; then
mv -fv "/tmp/gitea.$$" "$GITEA_BIN_FILE"
echo "gitea has been installed to: $GITEA_BIN_FILE"
chmod +x "$GITEA_BIN_FILE"
if [ -d "/etc/sudoers.d" ]; then
@ -51,7 +52,8 @@ else
exitCode=$((exitCode++))
fi
echo "Downloading act_runner from $ACT_URL"
if curl -q -LSsf "$ACT_URL" -o "$ACT_BIN_FILE"; then
if curl -q -LSsf "$ACT_URL" -o "/tmp/act_runner.$$"; then
mv -fv "/tmp/act_runner.$$" "$ACT_BIN_FILE"
echo "act_runner has been installed to: $ACT_BIN_FILE"
chmod +x "$ACT_BIN_FILE"
else