diff --git a/source/50_yum.sh b/source/50_yum.sh index e22c232..b128d25 100644 --- a/source/50_yum.sh +++ b/source/50_yum.sh @@ -6,7 +6,7 @@ bb-yum?() { bb-yum-repo?() { local REPO=$1 - yum -C repolist | grep -qw "^$REPO" + yum -C repolist | grep -Ewq "^(\W)*${REPO}" } bb-yum-package?() {