summaryrefslogtreecommitdiffstats
path: root/redhat/build/install_rpm_package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/build/install_rpm_package.sh')
-rwxr-xr-xredhat/build/install_rpm_package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/build/install_rpm_package.sh b/redhat/build/install_rpm_package.sh
index 5deece1bd..156d02aec 100755
--- a/redhat/build/install_rpm_package.sh
+++ b/redhat/build/install_rpm_package.sh
@@ -11,7 +11,7 @@ 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"
+ PKGINST="sudo dnf install -y --nogpgcheck"
elif [ -x /usr/bin/zypper ]; then
PKGINST="sudo zypper install -y"
elif [ -x /usr/bin/yum ]; then