diff --git a/dev/functions b/dev/functions index 00377528d01a3b1ca5c599b5e2ad74127b44d62c..03113027db406c6b554f4172253a67e0998d81ee 100644 --- a/dev/functions +++ b/dev/functions @@ -122,7 +122,7 @@ function config_init { function is_dnf { if [[ -e /etc/centos-release ]]; then - which dnf >/dev/null 2>&1 + /usr/bin/which dnf >/dev/null 2>&1 else return 1 fi @@ -130,7 +130,7 @@ function is_dnf { function is_yum { if [[ -e /etc/centos-release ]]; then - which yum >/dev/null 2>&1 + /usr/bin/which yum >/dev/null 2>&1 else return 1 fi