Optimize repository inclusion for OCI RedHat (#272)
This commit is contained in:
parent
044eb04161
commit
ea968a82eb
@ -37,12 +37,9 @@ fi
|
|||||||
rpm -ivh https://rpms.remirepo.net/$REMI_DISTR_NAME/remi-release-$REV.rpm || true
|
rpm -ivh https://rpms.remirepo.net/$REMI_DISTR_NAME/remi-release-$REV.rpm || true
|
||||||
yum localinstall -y --nogpgcheck https://download1.rpmfusion.org/free/$RPMFUSION_DISTR_NAME/rpmfusion-free-release-$REV.noarch.rpm
|
yum localinstall -y --nogpgcheck https://download1.rpmfusion.org/free/$RPMFUSION_DISTR_NAME/rpmfusion-free-release-$REV.noarch.rpm
|
||||||
|
|
||||||
[ "$REV" = "9" ] && update-crypto-policies --set DEFAULT:SHA1
|
[ "$REV" = "9" ] && update-crypto-policies --set DEFAULT:SHA1 && ${package_manager} -y install xorg-x11-font-utils
|
||||||
if [ "$DIST" == "centos" ]; then
|
[ "$DIST" = "centos" ] && TESTING_REPO="--enablerepo=$( [ "$REV" = "9" ] && echo "crb" || echo "powertools" )"
|
||||||
[ "$REV" = "9" ] && { ${package_manager} -y install xorg-x11-font-utils; TESTING_REPO="--enablerepo=crb"; } || POWERTOOLS_REPO="--enablerepo=powertools"
|
[ "$DIST" = "redhat" ] && /usr/bin/crb enable
|
||||||
elif [ "$DIST" == "redhat" ]; then
|
|
||||||
/usr/bin/crb enable
|
|
||||||
fi
|
|
||||||
|
|
||||||
#add rabbitmq & erlang repo
|
#add rabbitmq & erlang repo
|
||||||
curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | bash
|
curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | bash
|
||||||
|
Loading…
Reference in New Issue
Block a user