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 --- piwigo-dl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 piwigo-dl (limited to 'piwigo-dl') diff --git a/piwigo-dl b/piwigo-dl new file mode 100755 index 0000000..3955057 --- /dev/null +++ b/piwigo-dl @@ -0,0 +1,14 @@ +#!/bin/bash +# +# Piwgo simple upgrader. +# + +wget http://piwigo.org/download/dlcounter.php?code=latest -O latest.zip && \ +mv piwigo/ piwigo.old && \ +unzip latest.zip && \ +rm latest.zip && \ +( cd piwigo && rm -rf galleries && ln -s ../galleries/piwigo galleries ) && \ +cp -a piwigo.old/local/config/database.inc.php piwigo/local/config/database.inc.php && \ +echo "Audit:" && \ +du -hs piwigo && \ +du -hs piwigo.old -- cgit v1.2.3