summaryrefslogtreecommitdiff
path: root/xmake/core/base/linuxos.lua
diff options
context:
space:
mode:
author沈浪熊猫儿 <[email protected]>2023-03-22 21:29:32 +0800
committer沈浪熊猫儿 <[email protected]>2023-03-22 21:29:32 +0800
commit2b6f1ff1fea663a3123885eb5bf2a7fbe484b4ec (patch)
tree2ea8e14640bcbc3647f22491c0cc92a0013f2751 /xmake/core/base/linuxos.lua
parentb744c2b34f0a7559a75829a94de7a1a679351ca5 (diff)
add deepin for linuxos
Diffstat (limited to 'xmake/core/base/linuxos.lua')
-rw-r--r--xmake/core/base/linuxos.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/base/linuxos.lua b/xmake/core/base/linuxos.lua
index 8b3294142..c57a314d6 100644
--- a/xmake/core/base/linuxos.lua
+++ b/xmake/core/base/linuxos.lua
@@ -93,6 +93,8 @@ function linuxos.name()
name = "fedora"
elseif os_release:find("uos", 1, true) then
name = "uos"
+ elseif os_release:find("deepin", 1, true) then
+ name = "deepin"
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