From 8acc3e93366ce49b3c35841e7d4e4b46c2a513ab Mon Sep 17 00:00:00 2001 From: polytan02 Date: Sun, 8 Mar 2015 00:27:21 +0000 Subject: [PATCH] Automatic installation --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index cfddd13..fe338d5 100644 --- a/scripts/install +++ b/scripts/install @@ -37,6 +37,10 @@ sudo cp -a ../sources/french_language/* $final_path/ # Set permissions to rainloop directory 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 # --data-urlencode "server_protocol=https://" \ curl -k -X POST \ @@ -71,10 +75,6 @@ sudo cp ../conf/php-fpm.conf $finalphpconf sudo chown root: $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 sudo yunohost app setting $app is_public -v "$is_public" if [ "$is_public" = "Yes" ];