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:
parent
9961cf84a3
commit
9f3298c75e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue