Fix dotnet installation for Centos 8 Stream
This commit is contained in:
parent
050870d516
commit
e51f63e3c2
@ -64,9 +64,7 @@ curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.
|
||||
yum install -y https://rpm.nodesource.com/pub_${NODE_VERSION}.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm
|
||||
|
||||
#add dotnet repo
|
||||
if [ $REV = "7" ] || [[ $DIST != "redhat" && $REV = "8" ]]; then
|
||||
rpm -Uvh https://packages.microsoft.com/config/centos/$REV/packages-microsoft-prod.rpm || true
|
||||
fi
|
||||
[ $REV = "7" ] && rpm -Uvh https://packages.microsoft.com/config/centos/$REV/packages-microsoft-prod.rpm || true
|
||||
|
||||
#add mysql repo
|
||||
[ "$REV" != "7" ] && dnf remove -y @mysql && dnf module -y reset mysql && dnf module -y disable mysql
|
||||
|
Loading…
Reference in New Issue
Block a user