1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpbb_ynh.git synced 2024-09-03 19:56:36 +02:00

Automatic installation

This commit is contained in:
polytan02 2015-03-08 00:27:21 +00:00
parent 67291f4c43
commit 8acc3e9336

View file

@ -37,6 +37,10 @@ sudo cp -a ../sources/french_language/* $final_path/
# Set permissions to rainloop directory # Set permissions to rainloop directory
sudo chown -R www-data:www-data $final_path sudo chown -R www-data:www-data $final_path
# phpBB requires imagemagick to manipulate pictures
sudo apt-get update -qq > /dev/null 2>&1
sudo apt-get install -y imagemagick > /dev/null 2>&1
# Configuration of phpBB # Configuration of phpBB
# --data-urlencode "server_protocol=https://" \ # --data-urlencode "server_protocol=https://" \
curl -k -X POST \ curl -k -X POST \
@ -71,10 +75,6 @@ sudo cp ../conf/php-fpm.conf $finalphpconf
sudo chown root: $finalphpconf sudo chown root: $finalphpconf
sudo chmod 644 $finalphpconf sudo chmod 644 $finalphpconf
# phpBB requires imagemagick to manipulate pictures
sudo apt-get update -qq > /dev/null 2>&1
sudo apt-get install -y imagemagick > /dev/null 2>&1
# Make app public if necessary # Make app public if necessary
sudo yunohost app setting $app is_public -v "$is_public" sudo yunohost app setting $app is_public -v "$is_public"
if [ "$is_public" = "Yes" ]; if [ "$is_public" = "Yes" ];