|
|
@ -56,7 +56,10 @@ fn_install_mono_repo(){ |
|
|
|
monoautoinstall="1" |
|
|
|
fi |
|
|
|
elif [ "${distroid}" == "centos" ]; then |
|
|
|
if [ "${distroversion}" == "7" ]; then |
|
|
|
if [ "${distroversion}" == "8" ]; then |
|
|
|
cmd="rpm --import 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF';su -c 'curl https://download.mono-project.com/repo/centos8-stable.repo | tee /etc/yum.repos.d/mono-centos8-stable.repo'" |
|
|
|
eval ${cmd} |
|
|
|
elif [ "${distroversion}" == "7" ]; then |
|
|
|
cmd="rpm --import 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF';su -c 'curl https://download.mono-project.com/repo/centos7-stable.repo | tee /etc/yum.repos.d/mono-centos7-stable.repo'" |
|
|
|
eval ${cmd} |
|
|
|
elif [ "${distroversion}" == "6" ]; then |
|
|
|