Update install.sh

This commit is contained in:
midoks
2022-11-08 02:45:13 +08:00
parent 73c8d85f88
commit bcde85d24e
+1 -1
View File
@@ -28,7 +28,7 @@ esac
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}'`
echo "VERSION_ID:${VERSION_ID}"
OS_SIGN=1.el9
if [ "$OSNAME" == "centos" ];then
OS_SIGN=1.el${$VERSION_ID}