summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAlexander Traud <pabstraud@compuserve.com>2018-01-19 11:46:21 +0100
committerAlexander Traud <pabstraud@compuserve.com>2018-01-19 11:46:21 +0100
commit4c511c1a4dccd8413d0c339e7ed093e6ea2b5854 (patch)
tree46bc4329ca494848d7a6527fbbd4ade9dcbdcbed /contrib
parent51313e304e9dd57342a9b5715b8a1ce908d0674e (diff)
install_prereq: Support package manager DNF and yum option strict=1.
This re-enables the script ./contrib/scripts/install_prereq on Fedora 22 and newer, and on RHEL/CentOS when the option strict=1 was set for yum install. ASTERISK-27598 Reported by: Hunter Stevens, Said Masoud Change-Id: I40f9517122aaa6906e8fc0962b4b8008dfddb368
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/scripts/install_prereq2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq
index e3b217c08..6b1c41303 100755
--- a/contrib/scripts/install_prereq
+++ b/contrib/scripts/install_prereq
@@ -125,7 +125,7 @@ handle_debian() {
handle_rh() {
extra_packs=`check_installed_rpms $PACKAGES_RH`
if [ x"$extra_packs" != "x" ] ; then
- $testcmd yum install -y $extra_packs
+ $testcmd yum install --skip-broken --assumeyes $extra_packs
fi
}