aboutsummaryrefslogtreecommitdiff
path: root/piwik-dl
blob: e266c0b6b69bc104297e8ed3432251640c2c5131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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