aboutsummaryrefslogtreecommitdiff
path: root/src/luarocks/install.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/luarocks/install.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua
index daebfc70..b5128430 100644
--- a/src/luarocks/install.lua
+++ b/src/luarocks/install.lua
@@ -84,7 +84,7 @@ function install.install_binary_rock(rock_file, deps_mode)
84 if err then return nil, err, errcode end 84 if err then return nil, err, errcode end
85 end 85 end
86 86
87 ok, err = repos.deploy_files(name, version, repos.should_wrap_bin_scripts(rockspec)) 87 ok, err = repos.deploy_files(name, version, repos.should_wrap_bin_scripts(rockspec), deps_mode)
88 if err then return nil, err end 88 if err then return nil, err end
89 89
90 util.remove_scheduled_function(rollback) 90 util.remove_scheduled_function(rollback)
@@ -94,10 +94,7 @@ function install.install_binary_rock(rock_file, deps_mode)
94 94
95 ok, err = repos.run_hook(rockspec, "post_install") 95 ok, err = repos.run_hook(rockspec, "post_install")
96 if err then return nil, err end 96 if err then return nil, err end
97 97
98 ok, err = manif.update_manifest(name, version, nil, deps_mode)
99 if err then return nil, err end
100
101 util.announce_install(rockspec) 98 util.announce_install(rockspec)
102 util.remove_scheduled_function(rollback) 99 util.remove_scheduled_function(rollback)
103 return name, version 100 return name, version