diff options
Diffstat (limited to 'redhat/build/configure_repository.sh')
-rwxr-xr-x | redhat/build/configure_repository.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/build/configure_repository.sh b/redhat/build/configure_repository.sh index 212609363..a2e6698ad 100755 --- a/redhat/build/configure_repository.sh +++ b/redhat/build/configure_repository.sh @@ -8,7 +8,7 @@ RPMDIR=$(rpm -E %{_rpmdir}.tde-${TDE_VERSION}) [ -d "${RPMDIR}/${ARCH}" ] || mkdir -p "${RPMDIR}/${ARCH}" # RHEL / CentOS / Fedora -if [ -x /usr/bin/yum ]; then +if [ -x "/usr/bin/dnf" ] || [ -x "/usr/bin/yum" ]; then cat <<EOF >/tmp/rpmbuild-tde.repo [rpmbuild.${ARCH}] name=rpmbuild.${ARCH} |