summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmk/xe-linux-distribution3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/xe-linux-distribution b/mk/xe-linux-distribution
index b48c511..b10d343 100755
--- a/mk/xe-linux-distribution
+++ b/mk/xe-linux-distribution
@@ -287,6 +287,7 @@ identify_kylin()
# distro
# NeoKylin Linux Security OS V5.0 (Update8)
+ # Neokylin Linux Security OS Server release V5 (Santiago)
# NeoKylin Linux Advanced Server release 6.5 (Berryllium)
# NeoKylin Linux Advanced Server release 7.0
@@ -295,7 +296,7 @@ identify_kylin()
fi
eval $(sed -rn \
- 's/^NeoKylin Linux.*([0-9]+)\.([0-9]+).*$/distro=neokylin;major=\1;minor=\2;/gp;' \
+ 's/^Neo[kK]ylin Linux[^0-9]+([0-9]+)\.?([0-9]+)?.*$/distro=neokylin;major=\1;minor=\2;/gp;' \
"${kylin_release}")
if [ -z "${major}" -o -z "${distro}" ] ; then