diff options
author | François Andriot <[email protected]> | 2017-07-21 22:08:02 +0200 |
---|---|---|
committer | François Andriot <[email protected]> | 2017-07-21 22:08:02 +0200 |
commit | c547d05240fa95ce14ab4e8665adfc81c0ec369a (patch) | |
tree | d319e7088d5167445e694f884735f88a89b6f820 /redhat/build/install_rpm_package.sh | |
parent | a5f69c65c26585261d8e7462f093dc1e94a0ffd8 (diff) | |
download | tde-packaging-c547d05240fa95ce14ab4e8665adfc81c0ec369a.tar.gz tde-packaging-c547d05240fa95ce14ab4e8665adfc81c0ec369a.zip |
RPM packaging: update build scripts
Diffstat (limited to 'redhat/build/install_rpm_package.sh')
-rwxr-xr-x | redhat/build/install_rpm_package.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/redhat/build/install_rpm_package.sh b/redhat/build/install_rpm_package.sh index 7adb128a5..5deece1bd 100755 --- a/redhat/build/install_rpm_package.sh +++ b/redhat/build/install_rpm_package.sh @@ -8,10 +8,10 @@ done PKGNAME="${1}" -if [ -x /usr/bin/dnf ]; then - PKGINST="sudo dnf install -y --refresh --nogpgcheck" -elif [ -x /usr/sbin/urpmi ]; then +if [ -x /usr/sbin/urpmi ]; then PKGINST='sudo urpmi --auto --no-verify-rpm' +elif [ -x /usr/bin/dnf ]; then + PKGINST="sudo dnf install -y --refresh --nogpgcheck" elif [ -x /usr/bin/zypper ]; then PKGINST="sudo zypper install -y" elif [ -x /usr/bin/yum ]; then |