diff --git a/plugins/php-apt/versions/common/sg11.sh b/plugins/php-apt/versions/common/sg11.sh index d1e7dbbd3..d2f98c6f0 100644 --- a/plugins/php-apt/versions/common/sg11.sh +++ b/plugins/php-apt/versions/common/sg11.sh @@ -34,15 +34,6 @@ SORT_LIBNAME="10-${LIBNAME}" Install_lib() { - bash ${rootPath}/scripts/getos.sh - OSNAME=`cat ${rootPath}/data/osname.pl` - if [ "$OSNAME" == 'macos' ];then - VERSION_ID=none - else - VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` - fi - - echo "${OSNAME}:${VERSION_ID}" DEFAULT_OSNAME=linux-x86_64 SUFFIX_NAME=lin