From 632567f6485bca46119fd2d4cacfbbc81ce3d68b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 17 Oct 2014 14:42:04 -0300 Subject: Adding more downloaders --- piwik-dl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 piwik-dl (limited to 'piwik-dl') 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 -- cgit v1.2.3