diff options
-rwxr-xr-x | mk/xe-linux-distribution | 3 |
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 |