From 22dacd70fd4f9e5dd8038ef0e2770cbf933fe36a Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Tue, 26 Sep 2023 16:14:14 +0200 Subject: [PATCH] Don't remove the app when install fails --- lib/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tests.sh b/lib/tests.sh index 65a47bb..3377061 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -127,8 +127,8 @@ _INSTALL_APP () { done # Install the application in a LXC container - log_info "Running: yunohost app install --force /app_folder -a \"$install_args\"" - _RUN_YUNOHOST_CMD "app install --force /app_folder -a \"$install_args\"" + log_info "Running: yunohost app install --no-remove-on-failure --force /app_folder -a \"$install_args\"" + _RUN_YUNOHOST_CMD "app install --no-remove-on-failure --force /app_folder -a \"$install_args\"" local ret=$? [ $ret -eq 0 ] && log_debug "Installation successful." || log_error "Installation failed."