Makefile.PL: overwrite theme style.css instead of appending

Appending causes problems when upgrading existing installation.
master
Mikko Rapeli 2013-03-30 13:50:38 +02:00 committed by Joey Hess
parent 27ff4f5cd8
commit 76dcff6760
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ underlay_install:
install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$theme; \
for file in $$theme/*; do \
if echo "$$file" | grep -q style.css; then \
(cat doc/style.css; cat $$theme/base.css 2>/dev/null; cat $$file) >> $(DESTDIR)$(PREFIX)/share/ikiwiki/$$theme/style.css; \
(cat doc/style.css; cat $$theme/base.css 2>/dev/null; cat $$file) > $(DESTDIR)$(PREFIX)/share/ikiwiki/$$theme/style.css; \
elif echo "$$file" | grep -q base.css; then \
:; \
elif [ -f "$$file" ]; then \