update spark-dwine-helper/pkg/opt/durapps/spark-dwine-helper/scale-set-helper/get-scale.sh.

This commit is contained in:
2022-06-11 08:44:50 +00:00
committed by Gitee
parent c863f369b6
commit d8671e5863

View File

@@ -4,7 +4,7 @@ Get_Dist_Name()
{ {
if grep -Eqii "Deepin" /etc/issue || grep -Eq "Deepin" /etc/*-release; then if grep -Eqii "Deepin" /etc/issue || grep -Eq "Deepin" /etc/*-release; then
DISTRO='Deepin' DISTRO='Deepin'
elif grep -Eqi "Uniontech" /etc/issue || grep -Eq "Uniontech" /etc/*-release; then elif grep -Eqi "UnionTech" /etc/issue || grep -Eq "UnionTech" /etc/*-release; then
DISTRO='UniontechOS' DISTRO='UniontechOS'
else else
DISTRO='OtherOS' DISTRO='OtherOS'