]> gitweb.fluxo.info Git - downloaders.git/commitdiff
Piwik: ensure config and tmp folders exists
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 19 Feb 2015 10:49:52 +0000 (08:49 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 19 Feb 2015 10:49:52 +0000 (08:49 -0200)
piwik-dl

index f5455742f8c8e1810c938480559e3decbc784857..6d3ef9639a480ca2ad043039d6cfd64c765eb0a5 100755 (executable)
--- a/piwik-dl
+++ b/piwik-dl
@@ -19,6 +19,7 @@ mv piwik/ piwik.old && \
 unzip latest.zip && \
 rm *html && \
 rm latest.zip && \
+( cd piwik && mkdir -p config tmp ) && \
 cp -a piwik.old/config/config.ini.php piwik/config/ && \
 chown -R stats.stats piwik/{config,tmp} && \
 echo "Audit:" && \