Update lib.sh

This commit is contained in:
Mr Chen 2024-06-15 23:21:59 +08:00
parent 22fe247707
commit e72f33b201
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ rm -rf ${libPath}/lib.pl
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 "${OSNAME}:${VERSION_ID}"
echo "system:${OSNAME}:${VERSION_ID}"
# system judge
if [ "$OSNAME" == "macos" ]; then