diff options
author | François Andriot <albator78@libertysurf.fr> | 2024-06-13 08:37:13 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2024-06-13 08:38:31 +0200 |
commit | ac47c91c6c011631186592695e4251a3bb97dcca (patch) | |
tree | d91e4e98d96b4b2618d9fb3b879c28b67fc63a8f /redhat/build/configure_repository.sh | |
parent | 1488354ed514d043f0c15ddbe8b9aa7c0b43f46c (diff) | |
download | tde-packaging-ac47c91c6c011631186592695e4251a3bb97dcca.tar.gz tde-packaging-ac47c91c6c011631186592695e4251a3bb97dcca.zip |
RPM: synchronize redhat directory with r14.1.x branch
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/build/configure_repository.sh')
-rwxr-xr-x | redhat/build/configure_repository.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/build/configure_repository.sh b/redhat/build/configure_repository.sh index cc9a33e54..a2e6698ad 100755 --- a/redhat/build/configure_repository.sh +++ b/redhat/build/configure_repository.sh @@ -1,6 +1,6 @@ #!/bin/bash -x -TDE_VERSION="${1:-${TDE_VERSION:-14.1.0}}" +TDE_VERSION="${1:-${TDE_VERSION:-14.1.2}}" ARCH=$(rpm -E %_target_cpu) RPMDIR=$(rpm -E %{_rpmdir}.tde-${TDE_VERSION}) @@ -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} |