From 44d6729611e4a4894a53950ab19d95e1de5a8fea Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Wed, 4 Oct 2017 02:01:14 +0200 Subject: [PATCH] Root install by default --- sub_scripts/testing_process.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sub_scripts/testing_process.sh b/sub_scripts/testing_process.sh index 1f6a1e2..ee32e47 100644 --- a/sub_scripts/testing_process.sh +++ b/sub_scripts/testing_process.sh @@ -361,14 +361,14 @@ check_test_result_remove () { is_install_failed () { # Check if an install have previously work - if [ $RESULT_check_root -eq 1 ] + if [ $RESULT_check_sub_dir -eq 1 ] then - # If root installation worked, return root. - echo root - elif [ $RESULT_check_sub_dir -eq 1 ] || [ $force_install_ok -eq 1 ] - then - # If subdir installation worked or force_install_ok setted, return subdir. + # If subdir installation worked. echo subdir + elif [ $RESULT_check_root -eq 1 ] || [ $force_install_ok -eq 1 ] + then + # If root installation worked, return root or force_install_ok setted, return root. + echo root else ECHO_FORMAT "All installs failed, impossible to perform this test...\n" "red" clog return 1