Update oca-repos-manager.sh
This commit is contained in:
@@ -407,7 +407,7 @@ main_menu() {
|
||||
|
||||
check_dependencies() {
|
||||
for cmd in "${@}"; do
|
||||
command -v "${cmd}" 2&>/dev/null
|
||||
command -v "${cmd}" >&2 /dev/null
|
||||
local exitcode=$?
|
||||
if [[ "${exitcode}" -ne "0" ]]; then
|
||||
echo -e "\n${cmd} is missing. Please, install it. E.g.: apt install ${cmd}"
|
||||
|
||||
Reference in New Issue
Block a user