From 9f3298c75e88b54e56997321e2fd8c5abc7c48a4 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Wed, 7 Apr 2021 13:31:08 -0600 Subject: [PATCH] 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 --- files/dev_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/dev_install.sh b/files/dev_install.sh index 12b8c49..633dd19 100644 --- a/files/dev_install.sh +++ b/files/dev_install.sh @@ -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