aboutsummaryrefslogtreecommitdiff
path: root/src/luarocks/install.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luarocks/install.lua')
-rw-r--r--src/luarocks/install.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua
index 74602f47..4bb073dc 100644
--- a/src/luarocks/install.lua
+++ b/src/luarocks/install.lua
@@ -79,6 +79,14 @@ function install_binary_rock(rock_file)
79 ok, err = manif.update_manifest(name, version) 79 ok, err = manif.update_manifest(name, version)
80 if err then return nil, err end 80 if err then return nil, err end
81 81
82 local license = ""
83 if rockspec.description.license then
84 license = ("(license: "..rockspec.description.license..")")
85 end
86
87 print()
88 print(name.." "..version.." is now installed in "..cfg.root_dir.." "..license)
89
82 util.remove_scheduled_function(rollback) 90 util.remove_scheduled_function(rollback)
83 return true 91 return true
84end 92end