|
|
@ -24,7 +24,6 @@ rm -rf ${libPath}/lib.pl |
|
|
|
bash ${rootPath}/scripts/getos.sh |
|
|
|
bash ${rootPath}/scripts/getos.sh |
|
|
|
OSNAME=`cat ${rootPath}/data/osname.pl` |
|
|
|
OSNAME=`cat ${rootPath}/data/osname.pl` |
|
|
|
VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` |
|
|
|
VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` |
|
|
|
echo "system:${OSNAME}:${VERSION_ID}" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# system judge |
|
|
|
# system judge |
|
|
|
if [ "$OSNAME" == "macos" ]; then |
|
|
|
if [ "$OSNAME" == "macos" ]; then |
|
|
@ -55,6 +54,7 @@ elif [ "$OSNAME" == "debian" ]; then |
|
|
|
else |
|
|
|
else |
|
|
|
echo "OK" |
|
|
|
echo "OK" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
echo "system:${OSNAME}:${VERSION_ID}" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# HTTP_PREFIX="https://" |
|
|
|
# HTTP_PREFIX="https://" |
|
|
|