diff options
Diffstat (limited to 'src/luarocks/install.lua')
-rw-r--r-- | src/luarocks/install.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua index 016e73bb..d7d87192 100644 --- a/src/luarocks/install.lua +++ b/src/luarocks/install.lua | |||
@@ -85,8 +85,8 @@ function install_binary_rock(rock_file) | |||
85 | end | 85 | end |
86 | 86 | ||
87 | local root_dir = path.root_dir(cfg.rocks_dir) | 87 | local root_dir = path.root_dir(cfg.rocks_dir) |
88 | print() | 88 | util.printout() |
89 | print(name.." "..version.." is now installed in "..root_dir.." "..license) | 89 | util.printout(name.." "..version.." is now installed in "..root_dir.." "..license) |
90 | 90 | ||
91 | util.remove_scheduled_function(rollback) | 91 | util.remove_scheduled_function(rollback) |
92 | return true | 92 | return true |
@@ -123,14 +123,14 @@ function run(...) | |||
123 | return nil, err | 123 | return nil, err |
124 | elseif type(results) == "string" then | 124 | elseif type(results) == "string" then |
125 | local url = results | 125 | local url = results |
126 | print("Installing "..url.."...") | 126 | util.printout("Installing "..url.."...") |
127 | return run(url) | 127 | return run(url) |
128 | else | 128 | else |
129 | print() | 129 | util.printout() |
130 | print("Could not determine which rock to install.") | 130 | util.printerr("Could not determine which rock to install.") |
131 | print() | 131 | util.printout() |
132 | print("Search results:") | 132 | util.printout("Search results:") |
133 | print("---------------") | 133 | util.printout("---------------") |
134 | search.print_results(results) | 134 | search.print_results(results) |
135 | return nil, (next(results) and "Please narrow your query." or "No results found.") | 135 | return nil, (next(results) and "Please narrow your query." or "No results found.") |
136 | end | 136 | end |