From 58386b0699b7a12ad5ed8b5462f2c3f25e3b6223 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Tue, 6 Dec 2022 12:53:19 +0100 Subject: [PATCH] Stuff --- scripts/postinstall.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index 4b25dad..f6c2ced 100644 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -5,4 +5,12 @@ if [ -f "$FILE" ]; then systemctl restart gitea-page else cp /etc/gitea-page/config.yml.example /etc/gitea-page/config.yml +fi + + +FILE=/etc/gitea-page/nginx-config-template.txt.example +if [ -f "$FILE" ]; then + echo "Dont update config" +else + cp /etc/gitea-page/nginx-config-template.txt.example /etc/gitea-page/nginx-config-template.txt fi \ No newline at end of file