Skip to content

Commit

Permalink
Fixed bb-yum-repo? function
Browse files Browse the repository at this point in the history
  • Loading branch information
kr41 committed Dec 14, 2017
1 parent 11ccb09 commit 72b6a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/50_yum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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?() {
Expand Down

0 comments on commit 72b6a3f

Please sign in to comment.