diff options
-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 && \ |