From 7f1b64d8f2b237234fb6cff8395b82e12fb9e26c Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Wed, 4 Mar 2020 20:12:50 +0100 Subject: [PATCH] Force installation of 3rd party apps whatever the version --- sub_scripts/testing_process.sh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/sub_scripts/testing_process.sh b/sub_scripts/testing_process.sh index 53ebff5..ae7f34b 100644 --- a/sub_scripts/testing_process.sh +++ b/sub_scripts/testing_process.sh @@ -79,17 +79,8 @@ SETUP_APP () { ECHO_FORMAT "$(cat "$temp_log")\n" clog fi - # Force installation of 3rd party apps without asking for confirmation. - # Only with the version 3.4.1 or later. - if [ $ynh_version -ge 341 ] - then - local force_3rd="--force" - else - local force_3rd="" - fi - # Install the application in a LXC container - LXC_START "sudo PACKAGE_CHECK_EXEC=1 yunohost --debug app install $force_3rd \"$package_dir\" -a \"$manifest_args_mod\"" + LXC_START "sudo PACKAGE_CHECK_EXEC=1 yunohost --debug app install --force \"$package_dir\" -a \"$manifest_args_mod\"" # yunohost_result gets the return code of the installation yunohost_result=$?