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