diff options
Diffstat (limited to 'redhat/build/install_rpm_package.sh')
-rwxr-xr-x | redhat/build/install_rpm_package.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/redhat/build/install_rpm_package.sh b/redhat/build/install_rpm_package.sh index 93e2b5036..5deece1bd 100755 --- a/redhat/build/install_rpm_package.sh +++ b/redhat/build/install_rpm_package.sh @@ -10,6 +10,8 @@ PKGNAME="${1}" 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 |