diff options
Diffstat (limited to 'gitolite-cgit')
-rwxr-xr-x | gitolite-cgit/entrypoint.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 { |