Browse Source

fix: update warning message for missing sudo access

The warning message for users without sudo access has been updated to provide clearer instructions. Instead of just suggesting manual installation, it now also suggests running the script as root using `./${selfname} install`. This change improves user experience and helps them resolve dependency installation issues more effectively.
pull/4339/head
Daniel Gibbs 2 years ago
parent
commit
d6a8cae5bf
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 4
      lgsm/modules/check_deps.sh

4
lgsm/modules/check_deps.sh

@ -160,8 +160,8 @@ fn_install_missing_deps() {
fn_print_information_nl "$(whoami) has sudo access." fn_print_information_nl "$(whoami) has sudo access."
fn_script_log_info "$(whoami) has sudo access." fn_script_log_info "$(whoami) has sudo access."
else else
fn_print_warning_nl "$(whoami) does not have sudo access. Manually install dependencies." fn_print_warning_nl "$(whoami) does not have sudo access. Manually install dependencies or run ./${selfname} install as root."
fn_script_log_warn "$(whoami) does not have sudo access. Manually install dependencies." fn_script_log_warn "$(whoami) does not have sudo access. Manually install dependencies or run ./${selfname} install as root."
fi fi
fi fi

Loading…
Cancel
Save