From 69d7155790b07d544349d0ec5d0455816f201042 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 20 Feb 2019 19:02:29 +0100 Subject: [PATCH] Fix apt install yarn without prompt --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index ffda580..c37f768 100644 --- a/scripts/install +++ b/scripts/install @@ -94,7 +94,7 @@ ynh_app_setting_set $app port $port #================================================= ynh_print_info "Installing yarn 1.13.0..." -sudo apt install ../sources/yarn_1.13.0_all.deb +sudo apt install -y ../sources/yarn_1.13.0_all.deb #================================================= # INSTALL DEPENDENCIES diff --git a/scripts/upgrade b/scripts/upgrade index 31f6747..b6edd2a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -107,7 +107,7 @@ ynh_add_nginx_config #================================================= ynh_print_info "Installing yarn 1.13.0..." -sudo apt install ../sources/yarn_1.13.0_all.deb +sudo apt install -y ../sources/yarn_1.13.0_all.deb #================================================= # UPGRADE DEPENDENCIES