From 38fa4ab89f1e36887f8e23f1f61f1482efb4d81b Mon Sep 17 00:00:00 2001 From: polytan02 Date: Fri, 23 Dec 2016 12:16:34 +0000 Subject: [PATCH] options at the end for apt-get --- scripts/install | 4 ++-- scripts/upgrade | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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