From 9e49f947d94c8e9ac42e836a4f80c1bfca4e389e Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 29 Oct 2018 17:22:21 +0100 Subject: [PATCH] The script should not behave as if everything was ok if the install of those packages failed :s --- install_yunohost | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install_yunohost b/install_yunohost index 95f0c4b..26079fd 100755 --- a/install_yunohost +++ b/install_yunohost @@ -397,7 +397,8 @@ function install_yunohost_packages() { apt_get_wrapper \ -o Dpkg::Options::="--force-confold" \ -y --force-yes install \ - yunohost yunohost-admin postfix + yunohost yunohost-admin postfix \ + || return 1 } function restart_services() {