mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2025-12-11 17:39:55 +01:00
Update piwigo-install.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user