From 5981f94376f3adbace1b4bb72ea8abaa595544bb Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 6 May 2023 12:30:51 +0800 Subject: [PATCH] Update rhel.sh --- scripts/install/rhel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install/rhel.sh b/scripts/install/rhel.sh index feaefd2d3..84d368bde 100644 --- a/scripts/install/rhel.sh +++ b/scripts/install/rhel.sh @@ -31,7 +31,7 @@ fi # install remi source if [ "$VERSION_ID" == "9" ];then - if [ ! -d /etc/yum.repos.d/remi.repo ];then + if [ ! -f /etc/yum.repos.d/remi.repo ];then rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-9.rpm rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi fi