Fix git lookup

In CentOS8, git-core is the package instead of just git.

Depends-On: https://review.opendev.org/c/openstack/tripleo-common/+/786053
Change-Id: I5746a7230f307e59d93401372033ae45a65ba191
This commit is contained in:
Alex Schultz 2021-04-07 13:31:08 -06:00 committed by wes hayutin
parent 9961cf84a3
commit 9f3298c75e
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ function cherrypick {
local REFSPECS="$2"
# check that git is installed
if ! rpm -qi git &> /dev/null; then
if ! rpm -qi git &> /dev/null && ! rpm -qi git-core &> /dev/null; then
echo "Please install git before using this module."
exit 1
fi