aboutsummaryrefslogtreecommitdiff
path: root/Makefile.PL
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@iki.fi>2013-03-30 13:50:38 +0200
committerJoey Hess <joey@kitenet.net>2013-03-30 13:44:03 -0400
commit76dcff6760e968cbc482db0dc98e86faa79eae65 (patch)
treef3bcf243ac07f893a052b45aea87be9f8710bae3 /Makefile.PL
parent27ff4f5cd89d41264d1c12974dc4b3b2943c9509 (diff)
downloadikiwiki-76dcff6760e968cbc482db0dc98e86faa79eae65.tar
ikiwiki-76dcff6760e968cbc482db0dc98e86faa79eae65.tar.gz
Makefile.PL: overwrite theme style.css instead of appending
Appending causes problems when upgrading existing installation.
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-xMakefile.PL2
1 files changed, 1 insertions, 1 deletions
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 \