From: Mikko Rapeli Date: Sat, 30 Mar 2013 11:50:38 +0000 (+0200) Subject: Makefile.PL: overwrite theme style.css instead of appending X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/76dcff6760e968cbc482db0dc98e86faa79eae65?ds=sidebyside Makefile.PL: overwrite theme style.css instead of appending Appending causes problems when upgrading existing installation. --- 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 \