summaryrefslogtreecommitdiff
path: root/xmake/modules/package/manager/pacman/install.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-09-21 00:28:19 +0800
committerruki <[email protected]>2017-09-20 20:49:57 +0800
commit9b3dc3d2a9250be9bfde08fbd3afadd0eb406894 (patch)
treeb7d1e4c19674892aa14e6dc1867aa13eae835386 /xmake/modules/package/manager/pacman/install.lua
parent33d847860f7f963fc47286634460dc435941c1e9 (diff)
add root perm to apt/yum
Diffstat (limited to 'xmake/modules/package/manager/pacman/install.lua')
-rw-r--r--xmake/modules/package/manager/pacman/install.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/pacman/install.lua b/xmake/modules/package/manager/pacman/install.lua
index 7e449654a..95116ba45 100644
--- a/xmake/modules/package/manager/pacman/install.lua
+++ b/xmake/modules/package/manager/pacman/install.lua
@@ -46,7 +46,7 @@ function main(name, opt)
end
-- init argv
- local argv = {"-S", "--noconfirm", "--needed", opt.pacman or name}
+ local argv = {"-Sy", "--noconfirm", "--needed", opt.pacman or name}
if opt.verbose or option.get("verbose") then
table.insert(argv, "--verbose")
end