mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update gd.sh
This commit is contained in:
@@ -23,7 +23,7 @@ OSNAME=`cat ${rootPath}/data/osname.pl`
|
||||
OSNAME_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'`
|
||||
|
||||
|
||||
if [ "centos" == "$OSNAME" ] || [ "$OSNAME_ID" != "9" ];then
|
||||
if [ "centos" == "$OSNAME" ] && [ "$OSNAME_ID" != "9" ];then
|
||||
if [ "$version" -lt "74" ];then
|
||||
bash $curPath/gd_old.sh $1 $2
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user