From 76dcff6760e968cbc482db0dc98e86faa79eae65 Mon Sep 17 00:00:00 2001 From: Mikko Rapeli Date: Sat, 30 Mar 2013 13:50:38 +0200 Subject: Makefile.PL: overwrite theme style.css instead of appending Appending causes problems when upgrading existing installation. --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.PL') diff --git a/Makefile.PL b/Makefile.PL index ef29a950c..f1df8bcd3 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -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 \ -- cgit v1.2.3