aboutsummaryrefslogtreecommitdiff
path: root/piwik-dl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-10-17 14:42:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-10-17 14:42:04 -0300
commit632567f6485bca46119fd2d4cacfbbc81ce3d68b (patch)
tree7db71f5fbcaea55b46b2867c026e53f936953415 /piwik-dl
parent7138ad699d3439886d805738402c5dd3cdd1b289 (diff)
downloaddownloaders-632567f6485bca46119fd2d4cacfbbc81ce3d68b.tar.gz
downloaders-632567f6485bca46119fd2d4cacfbbc81ce3d68b.tar.bz2
Adding more downloaders
Diffstat (limited to 'piwik-dl')
-rwxr-xr-xpiwik-dl15
1 files changed, 15 insertions, 0 deletions
diff --git a/piwik-dl b/piwik-dl
new file mode 100755
index 0000000..e266c0b
--- /dev/null
+++ b/piwik-dl
@@ -0,0 +1,15 @@
+#!/bin/bash
+#
+# Piwik simple upgrader.
+#
+
+wget http://piwik.org/latest.zip && \
+mv piwik/ piwik.old && \
+unzip latest.zip && \
+rm *html && \
+rm latest.zip && \
+cp -a piwik.old/config/config.ini.php piwik/config/ && \
+chown -R stats.stats piwik/{config,tmp} && \
+echo "Audit:" && \
+du -hs piwik && \
+du -hs piwik.old