/usr/bin/luarocks-admin is in luarocks 2.0.9-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/usr/bin/env lua5.1
package.path = [[/usr/share/lua/5.1//?.lua;/usr/share/lua/5.1//?/init.lua;]]..package.path
local command_line = require("luarocks.command_line")
program_name = "luarocks-admin"
program_description = "LuaRocks repository administration interface"
commands = {
}
commands.help = require("luarocks.help")
commands.make_manifest = require("luarocks.make_manifest")
commands.add = require("luarocks.add")
commands.remove = require("luarocks.admin_remove")
commands.refresh_cache = require("luarocks.refresh_cache")
command_line.run_command(...)
|