summaryrefslogtreecommitdiff
path: root/xmake/modules/package
diff options
context:
space:
mode:
authorruki <[email protected]>2017-09-21 00:25:48 +0800
committerruki <[email protected]>2017-09-20 20:34:49 +0800
commit33d847860f7f963fc47286634460dc435941c1e9 (patch)
tree260cb155397ed043d162902619f102853bbf4a4c /xmake/modules/package
parent5fc937a0504b82d0781a60614a51d2a9315f4d27 (diff)
fix yum script and export os.isroot
Diffstat (limited to 'xmake/modules/package')
-rw-r--r--xmake/modules/package/manager/yum/install.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/yum/install.lua b/xmake/modules/package/manager/yum/install.lua
index 5704956dd..dcbffbc02 100644
--- a/xmake/modules/package/manager/yum/install.lua
+++ b/xmake/modules/package/manager/yum/install.lua
@@ -33,7 +33,7 @@ import("lib.detect.find_tool")
--
-- @return true or false
--
-function install(name, opt)
+function main(name, opt)
-- init options
opt = opt or {}