diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-02-17 13:16:25 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-02-17 13:16:25 -0200 |
commit | 35ebfe9d89f85fb7af723e80efcdd13cae3c19c8 (patch) | |
tree | 1b3a7bb60f1b0d2388923c8237a84805a83fcc4d | |
parent | b1c3a1ed864b9dc6beb17f5f7ede058ea5ff5624 (diff) | |
download | downloaders-35ebfe9d89f85fb7af723e80efcdd13cae3c19c8.tar.gz downloaders-35ebfe9d89f85fb7af723e80efcdd13cae3c19c8.tar.bz2 |
Piwigo: keep data folder
-rwxr-xr-x | piwigo-dl | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,11 +3,14 @@ # Piwgo simple upgrader. # +mkdir -p galleries && \ +mkdir -p data && \ 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 ) && \ +( cd piwigo && rm -rf _data && ln -s ../data _data ) && \ cp -a piwigo.old/local/config/database.inc.php piwigo/local/config/database.inc.php && \ echo "Audit:" && \ du -hs piwigo && \ |