condition on existence

This commit is contained in:
pat-s 2023-05-29 12:07:24 +02:00
parent 01b2cd6858
commit b663ab88a2
No known key found for this signature in database
GPG Key ID: 3C6318841EF78925

View File

@ -21,7 +21,9 @@ stringData:
set -euo pipefail
# ensure a clean start
rm $GITEA_APP_INI
if [ -f ${GITEA_APP_INI} ]; then
rm $GITEA_APP_INI
fi
function env2ini::log() {
printf "${1}\n"