diff --git a/lgsm/functions/check_deps.sh b/lgsm/functions/check_deps.sh index 0cb0b0178..351c848d3 100644 --- a/lgsm/functions/check_deps.sh +++ b/lgsm/functions/check_deps.sh @@ -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