Software /
code /
prosody
Comparison
prosodyctl @ 4334:cd1b73582711
prosodyctl: Remove typo'd '+' after LuaRocks 1.x version (thanks spoobie)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 27 Jul 2011 14:25:05 -0400 |
parent | 4333:040193dead77 |
child | 4335:3a2a01432b5c |
comparison
equal
deleted
inserted
replaced
4333:040193dead77 | 4334:cd1b73582711 |
---|---|
514 for path in package.cpath:gmatch("[^;]+") do | 514 for path in package.cpath:gmatch("[^;]+") do |
515 print(" "..path); | 515 print(" "..path); |
516 end | 516 end |
517 print(""); | 517 print(""); |
518 local luarocks_status = (pcall(require, "luarocks.loader") and "Installed ("..(luarocks.cfg.program_version or "2.x+")..")") | 518 local luarocks_status = (pcall(require, "luarocks.loader") and "Installed ("..(luarocks.cfg.program_version or "2.x+")..")") |
519 or (pcall(require, "luarocks.require") and "Installed (1.x+)") | 519 or (pcall(require, "luarocks.require") and "Installed (1.x)") |
520 or "Not installed"; | 520 or "Not installed"; |
521 print("LuaRocks: ", luarocks_status); | 521 print("LuaRocks: ", luarocks_status); |
522 print(""); | 522 print(""); |
523 print("# Lua module versions"); | 523 print("# Lua module versions"); |
524 local module_versions, longest_name = {}, 8; | 524 local module_versions, longest_name = {}, 8; |