aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-02-19 08:49:52 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-02-19 08:49:52 -0200
commit684479d82e2d01a863ac58ee6bcdc2ca4be156ca (patch)
treeacbfd405f48a25a6033031e0debaf53139cfc5bc
parent35ebfe9d89f85fb7af723e80efcdd13cae3c19c8 (diff)
downloaddownloaders-684479d82e2d01a863ac58ee6bcdc2ca4be156ca.tar.gz
downloaders-684479d82e2d01a863ac58ee6bcdc2ca4be156ca.tar.bz2
Piwik: ensure config and tmp folders exists
-rwxr-xr-xpiwik-dl1
1 files changed, 1 insertions, 0 deletions
diff --git a/piwik-dl b/piwik-dl
index f545574..6d3ef96 100755
--- 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:" && \