summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-02-03 00:34:13 +0800
committerruki <[email protected]>2021-02-03 00:34:13 +0800
commit8caf1c9c6a3481e933a74bd5977eb3448c56c4c8 (patch)
tree52a814a8eb7a91f9543c5d615cd0d6a0079773bd
parent6850ce1b32af0239169977139f052264c7dbdc20 (diff)
add opensuse to linuxos
-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 792d127e5..f2830281e 100644
--- a/xmake/core/base/linuxos.lua
+++ b/xmake/core/base/linuxos.lua
@@ -97,6 +97,8 @@ function linuxos.name()
name = "ubuntu"
elseif os_release:find("debian", 1, true) then
name = "debian"
+ elseif os_release:find("opensuse", 1, true) then
+ name = "opensuse"
end
end
end