Software / code / prosody
Comparison
prosodyctl @ 11301:d7f0dc727a47
prosodyctl: Add reference to #1602 (plugin installer docs) in comment
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 21 Jan 2021 19:23:15 +0100 |
| parent | 11300:d0d64655e584 |
| child | 11560:3bbb1af92514 |
comparison
equal
deleted
inserted
replaced
| 11300:d0d64655e584 | 11301:d7f0dc727a47 |
|---|---|
| 81 -- TODO finalize config option name | 81 -- TODO finalize config option name |
| 82 local server = configmanager.get("*", "plugin_server"); | 82 local server = configmanager.get("*", "plugin_server"); |
| 83 if not server then | 83 if not server then |
| 84 show_warning("There is no 'plugin_server' option in the configuration file"); | 84 show_warning("There is no 'plugin_server' option in the configuration file"); |
| 85 -- see https://prosody.im/doc/TODO documentation | 85 -- see https://prosody.im/doc/TODO documentation |
| 86 -- #1602 | |
| 86 return 1; | 87 return 1; |
| 87 end | 88 end |
| 88 show_message("Installing %s in %s", arg[1], prosody.paths.installer); | 89 show_message("Installing %s in %s", arg[1], prosody.paths.installer); |
| 89 local ret = call_luarocks("install", arg[1], server); | 90 local ret = call_luarocks("install", arg[1], server); |
| 90 if ret == 0 then | 91 if ret == 0 then |