Update piwigo-install.sh

This commit is contained in:
tschettervictor
2024-09-22 21:06:07 -06:00
committed by GitHub
parent 2ff1cde64c
commit de794b7535

View File

@@ -61,8 +61,9 @@ fi
# Install Piwigo
fetch -o /tmp "http://piwigo.org/download/dlcounter.php?code=latest"
mv "/tmp/dlcounter.php?code=latest" /tmp/piwigo.zip
unzip -d /usr/local/www /tmp/piwigo.zip
sh -c 'find /usr/local/www/ -type d -print0 | xargs -0 chmod 2775'
unzip -d /usr/local/www/ /tmp/piwigo.zip
sh -c 'find /usr/local/www/ -type d -print0 | xargs -0 chmod 775'
sh -c 'find /usr/local/www/ -type f -print0 | xargs -0 chmod 644'
chown -R www:www /usr/local/www
# Enable and Start Services