diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-10-17 14:42:04 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-10-17 14:42:04 -0300 |
commit | 632567f6485bca46119fd2d4cacfbbc81ce3d68b (patch) | |
tree | 7db71f5fbcaea55b46b2867c026e53f936953415 /piwigo-dl | |
parent | 7138ad699d3439886d805738402c5dd3cdd1b289 (diff) | |
download | downloaders-632567f6485bca46119fd2d4cacfbbc81ce3d68b.tar.gz downloaders-632567f6485bca46119fd2d4cacfbbc81ce3d68b.tar.bz2 |
Adding more downloaders
Diffstat (limited to 'piwigo-dl')
-rwxr-xr-x | piwigo-dl | 14 |
1 files changed, 14 insertions, 0 deletions
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 |