diff --git a/scripts/install b/scripts/install index 3348943..5fd70d6 100755 --- a/scripts/install +++ b/scripts/install @@ -43,7 +43,7 @@ finalphpconf="/etc/php5/fpm/pool.d/${app}.conf" ynh_app_setting_set "$app" finalphpconf "$finalphpconf" # We install dependencies -sudo apt-get install --quiet php5-gd php5-sqlite php5-json php5-intl +sudo apt-get install --quiet --assume-yes php5-gd php5-sqlite php5-json php5-intl # Creation of folder #sudo rm -rf $final_path diff --git a/scripts/restore b/scripts/restore index f9d61e3..a6677ac 100755 --- a/scripts/restore +++ b/scripts/restore @@ -27,7 +27,7 @@ runninguser=$(ynh_app_setting_get $app runninguser) # || ynh_die "Path not available: ${domain}${path}" # We install dependencies -sudo apt-get install --quiet php5-gd php5-sqlite php5-json php5-intl +sudo apt-get install --quiet --assume-yes php5-gd php5-sqlite php5-json php5-intl # Restore sources & data sudo mkdir -p $final_path diff --git a/scripts/upgrade b/scripts/upgrade index 2730a45..255245a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,7 +25,7 @@ finalphpconf=$(ynh_app_setting_get $app finalphpconf) runninguser=$(ynh_app_setting_get $app runninguser) # We install dependencies -sudo apt-get install --quiet php5-gd php5-sqlite php5-json php5-intl +sudo apt-get install --quiet --assume-yes php5-gd php5-sqlite php5-json php5-intl # Modify Nginx configuration file and copy it to Nginx conf directory sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf