summaryrefslogtreecommitdiff
path: root/xmake/modules/package
diff options
context:
space:
mode:
authorruki <[email protected]>2019-01-03 22:57:36 +0800
committerruki <[email protected]>2019-01-03 11:45:37 +0800
commite6bdff43415c485114ae9a68a435923497fb3059 (patch)
tree73145bcb0143a957e95fd6d45e8e692e232bf53e /xmake/modules/package
parent2bf304a53d08b0d2f248732b4687ae8276aa5e5f (diff)
simplify error and warn styles
Diffstat (limited to 'xmake/modules/package')
-rw-r--r--xmake/modules/package/manager/apt/install.lua2
-rw-r--r--xmake/modules/package/manager/pacman/install.lua2
-rw-r--r--xmake/modules/package/manager/yum/install.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/package/manager/apt/install.lua b/xmake/modules/package/manager/apt/install.lua
index 838530581..12eed657b 100644
--- a/xmake/modules/package/manager/apt/install.lua
+++ b/xmake/modules/package/manager/apt/install.lua
@@ -59,7 +59,7 @@ function main(name, opt)
if confirm == nil then
-- show tips
- cprint("${color.warning.bright}note: ${clear}try installing %s with administrator permission?", name)
+ cprint("${bright color.warning}note: ${clear}try installing %s with administrator permission?", name)
cprint("please input: y (y/n)")
-- get answer
diff --git a/xmake/modules/package/manager/pacman/install.lua b/xmake/modules/package/manager/pacman/install.lua
index 5e5101786..3c7ae5e77 100644
--- a/xmake/modules/package/manager/pacman/install.lua
+++ b/xmake/modules/package/manager/pacman/install.lua
@@ -62,7 +62,7 @@ function main(name, opt)
if confirm == nil then
-- show tips
- cprint("${color.warning.bright}note: ${clear}try installing %s with administrator permission?", name)
+ cprint("${bright color.warning}note: ${clear}try installing %s with administrator permission?", name)
cprint("please input: y (y/n)")
-- get answer
diff --git a/xmake/modules/package/manager/yum/install.lua b/xmake/modules/package/manager/yum/install.lua
index 1d900c819..6465f7c0b 100644
--- a/xmake/modules/package/manager/yum/install.lua
+++ b/xmake/modules/package/manager/yum/install.lua
@@ -62,7 +62,7 @@ function main(name, opt)
if confirm == nil then
-- show tips
- cprint("${color.warning.bright}note: ${clear}try installing %s with administrator permission?", name)
+ cprint("${bright color.warning}note: ${clear}try installing %s with administrator permission?", name)
cprint("please input: y (y/n)")
-- get answer