From f9dbd383790369b076a7a01b570fde2b0e10bec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 9 Jul 2021 22:44:02 -0500 Subject: fix missing directory --- gitolite-cgit/entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gitolite-cgit/entrypoint.sh') diff --git a/gitolite-cgit/entrypoint.sh b/gitolite-cgit/entrypoint.sh index 2a992e4..d740147 100755 --- a/gitolite-cgit/entrypoint.sh +++ b/gitolite-cgit/entrypoint.sh @@ -189,7 +189,9 @@ EOF # /usr/lib/cgit/filters/syntax-highlighting.sh # Nginx configuration - rm /etc/nginx/conf.d/default.conf + rm /etc/nginx/conf.d/default.conf || true + + install -d -m755 /etc/nginx/conf.d || true cat > /etc/nginx/conf.d/cgit.conf <<- EOF server { -- cgit v1.2.3