Commit 5289d9e2 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Make HTTPDUSER optional

parent 7e0211f7
...@@ -7,7 +7,7 @@ LOCALE_DIR := locale ...@@ -7,7 +7,7 @@ LOCALE_DIR := locale
LOCALES := nl_NL LOCALES := nl_NL
GETTEXT_DOMAIN := archery GETTEXT_DOMAIN := archery
include config.mk # defines HTTPDUSER -include config.mk # defines HTTPDUSER
SCRIPTS := $(patsubst %,$(WWW_DIR)/js/%.js,$(SCRIPTS)) SCRIPTS := $(patsubst %,$(WWW_DIR)/js/%.js,$(SCRIPTS))
STYLES := $(patsubst %,$(WWW_DIR)/css/%.css,$(STYLES)) STYLES := $(patsubst %,$(WWW_DIR)/css/%.css,$(STYLES))
...@@ -53,6 +53,9 @@ min: static ...@@ -53,6 +53,9 @@ min: static
$(CACHE_DIR): $(CACHE_DIR):
mkdir -p $@ mkdir -p $@
ifneq ($(HTTPDUSER),)
setfacl -R -m u:$(HTTPDUSER):rwX -- $@
endif
# Gettext translations # Gettext translations
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment