diff --git a/scripts/install b/scripts/install index 30de2ea..8de5553 100755 --- a/scripts/install +++ b/scripts/install @@ -51,8 +51,8 @@ finalphpconf="/etc/php5/fpm/pool.d/${app}.conf" ynh_app_setting_set "$app" finalphpconf "$finalphpconf" # We install dependencies -sudo apt-get update --quiet --assume-yes -sudo apt-get install --quiet --assume-yes php5-gd php5-sqlite php5-json php5-intl +sudo apt-get update -y +sudo apt-get install php5-gd php5-sqlite php5-json php5-intl -y # Creation of folder #sudo rm -rf $final_path diff --git a/scripts/upgrade b/scripts/upgrade index 8bf9250..51f69fa 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -51,8 +51,8 @@ fi # We install dependencies -sudo apt-get update --quiet --assume-yes -sudo apt-get install --quiet --assume-yes php5-gd php5-sqlite php5-json php5-intl +sudo apt-get update -q -y +sudo apt-get install php5-gd php5-sqlite php5-json php5-intl -q -y # Modify Nginx configuration file and copy it to Nginx conf directory sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf