fix: no longer attempt auto install of depdencies
This commit is contained in:
parent
925f26ab8b
commit
da4d362141
@ -130,8 +130,7 @@ check-script-deps() {
|
|||||||
local ret_code=0
|
local ret_code=0
|
||||||
for cmd in "${commands_to_check[@]}"; do
|
for cmd in "${commands_to_check[@]}"; do
|
||||||
if ! command -v "${cmd}" >/dev/null; then
|
if ! command -v "${cmd}" >/dev/null; then
|
||||||
log "warning" "Could not find command: ${GREEN}${cmd}${RESET_BOLD}, attempting automatic installation"
|
log "error" "Could not find command: ${GREEN}${cmd}${RESET_BOLD}, ensure you install this dependency"
|
||||||
install-from-pkg-mngr "${cmd}"
|
|
||||||
ret_code=1
|
ret_code=1
|
||||||
else
|
else
|
||||||
log "info" "Found dependency ${GREEN}${cmd}${RESET_BOLD}"
|
log "info" "Found dependency ${GREEN}${cmd}${RESET_BOLD}"
|
||||||
|
Loading…
Reference in New Issue
Block a user