From 01b2cd685887a73109407af88528bbb02d24fdbf Mon Sep 17 00:00:00 2001 From: pat-s Date: Mon, 29 May 2023 11:54:19 +0200 Subject: [PATCH] remove existing `app.ini` before creating it --- templates/gitea/config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/gitea/config.yaml b/templates/gitea/config.yaml index bcc7c4d..78d95a6 100644 --- a/templates/gitea/config.yaml +++ b/templates/gitea/config.yaml @@ -20,6 +20,9 @@ stringData: #!/usr/bin/env bash set -euo pipefail + # ensure a clean start + rm $GITEA_APP_INI + function env2ini::log() { printf "${1}\n" }