Makefile.PL: overwrite theme style.css instead of appending
Appending causes problems when upgrading existing installation.master
parent
27ff4f5cd8
commit
76dcff6760
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue