From b744c2b34f0a7559a75829a94de7a1a679351ca5 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 22 Mar 2023 00:30:33 +0800 Subject: add uos for linuxos --- xmake/core/base/linuxos.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmake/core/base/linuxos.lua') diff --git a/xmake/core/base/linuxos.lua b/xmake/core/base/linuxos.lua index b622479bc..8b3294142 100644 --- a/xmake/core/base/linuxos.lua +++ b/xmake/core/base/linuxos.lua @@ -91,6 +91,8 @@ function linuxos.name() name = "centos" elseif os_release:find("fedora", 1, true) then name = "fedora" + elseif os_release:find("uos", 1, true) then + name = "uos" elseif os_release:find("linux mint", 1, true) or os_release:find("linuxmint", 1, true) then name = "linuxmint" elseif os_release:find("ubuntu", 1, true) then -- cgit v1.3.1