fix missing directory

This commit is contained in:
Jesús 2021-07-09 22:44:02 -05:00
parent c3c8f480fe
commit f9dbd38379
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -189,7 +189,9 @@ EOF
# /usr/lib/cgit/filters/syntax-highlighting.sh # /usr/lib/cgit/filters/syntax-highlighting.sh
# Nginx configuration # 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 cat > /etc/nginx/conf.d/cgit.conf <<- EOF
server { server {