diff options
| author | ruki <[email protected]> | 2023-03-22 00:30:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-03-22 00:30:33 +0800 |
| commit | b744c2b34f0a7559a75829a94de7a1a679351ca5 (patch) | |
| tree | e141c27adf32a07716b6f463aaa093a20a8dd2a3 /xmake/core/base/linuxos.lua | |
| parent | 17f72da33832449675c676e78d462a55a5169b26 (diff) | |
add uos for linuxos
Diffstat (limited to 'xmake/core/base/linuxos.lua')
| -rw-r--r-- | xmake/core/base/linuxos.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
