mirror of
https://github.com/casjaysdevdocker/gitea
synced 2024-11-24 05:23:06 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/root/docker/setup/05-custom.sh
This commit is contained in:
parent
b8e35342e9
commit
596083b29a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user