diff options
author | Jesús <heckyel@hyperbola.info> | 2021-07-09 22:44:02 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-07-09 22:44:02 -0500 |
commit | f9dbd383790369b076a7a01b570fde2b0e10bec2 (patch) | |
tree | c027d20fb8c874aaf812074651351447342711af | |
parent | c3c8f480fe919cb271706694aefdb04813178c0e (diff) | |
download | gitolite-cgit-docker-f9dbd383790369b076a7a01b570fde2b0e10bec2.tar.lz gitolite-cgit-docker-f9dbd383790369b076a7a01b570fde2b0e10bec2.tar.xz gitolite-cgit-docker-f9dbd383790369b076a7a01b570fde2b0e10bec2.zip |
fix missing directory
-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 { |