mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2025-12-14 11:00:10 +01:00
Update piwigo-install.sh
This commit is contained in:
@@ -61,8 +61,9 @@ fi
|
|||||||
# Install Piwigo
|
# Install Piwigo
|
||||||
fetch -o /tmp "http://piwigo.org/download/dlcounter.php?code=latest"
|
fetch -o /tmp "http://piwigo.org/download/dlcounter.php?code=latest"
|
||||||
mv "/tmp/dlcounter.php?code=latest" /tmp/piwigo.zip
|
mv "/tmp/dlcounter.php?code=latest" /tmp/piwigo.zip
|
||||||
unzip -d /usr/local/www /tmp/piwigo.zip
|
unzip -d /usr/local/www/ /tmp/piwigo.zip
|
||||||
sh -c 'find /usr/local/www/ -type d -print0 | xargs -0 chmod 2775'
|
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
|
chown -R www:www /usr/local/www
|
||||||
|
|
||||||
# Enable and Start Services
|
# Enable and Start Services
|
||||||
|
|||||||
Reference in New Issue
Block a user