From 821f26394adc375aa326803bc570d32640b78849 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 13 Sep 2021 21:13:16 +0100 Subject: [PATCH] move mono --- lgsm/functions/check_deps.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lgsm/functions/check_deps.sh b/lgsm/functions/check_deps.sh index 42c94b60f..09fc60885 100755 --- a/lgsm/functions/check_deps.sh +++ b/lgsm/functions/check_deps.sh @@ -129,19 +129,20 @@ fn_install_missing_deps(){ fi autodepinstall="$?" + if [ "${monostatus}" == "1" ]; then + fn_install_mono_repo + fi + if [ "${commandname}" == "INSTALL" ]; then if [ "${autodepinstall}" == "0" ]; then fn_print_information_nl "$(whoami) has sudo access." fn_script_log_info "$(whoami) has sudo access." else - fn_print_information_nl "$(whoami) does not have sudo access. Manually install dependencies." - fn_script_log_info "$(whoami) does not have sudo access. Manually install dependencies." + fn_print_warning_nl "$(whoami) does not have sudo access. Manually install dependencies." + fn_script_log_warn "$(whoami) does not have sudo access. Manually install dependencies." fi fi - if [ "${monostatus}" == "1" ]; then - fn_install_mono_repo - fi # If automatic dependency install is available if [ "${autodepinstall}" == "0" ]; then