Update install.sh

This commit is contained in:
midoks
2022-11-08 02:24:22 +08:00
parent b0536b37ec
commit c573449524
+1 -1
View File
@@ -29,7 +29,7 @@ bash ${rootPath}/scripts/getos.sh
OSNAME=`cat ${rootPath}/data/osname.pl`
VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'`
OS_SIGN=el9
OS_SIGN=1.el9
if [ "$OSNAME" == "centos" ];then
OS_SIGN=1.el${$VERSION_ID}
elif [ "$OSNAME" == "fedora" ]; then