diff options
Diffstat (limited to 'src/luarocks/install.lua')
| -rw-r--r-- | src/luarocks/install.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua index 6dded8ee..c9b085f5 100644 --- a/src/luarocks/install.lua +++ b/src/luarocks/install.lua | |||
| @@ -82,7 +82,7 @@ function install.install_binary_rock(rock_file, deps_mode) | |||
| 82 | if err then return nil, err, errcode end | 82 | if err then return nil, err, errcode end |
| 83 | end | 83 | end |
| 84 | 84 | ||
| 85 | ok, err = repos.deploy_files(name, version, repos.should_wrap_bin_scripts(rockspec)) | 85 | ok, err = repos.deploy_files(name, version, repos.should_wrap_bin_scripts(rockspec), deps_mode) |
| 86 | if err then return nil, err end | 86 | if err then return nil, err end |
| 87 | 87 | ||
| 88 | util.remove_scheduled_function(rollback) | 88 | util.remove_scheduled_function(rollback) |
| @@ -92,10 +92,7 @@ function install.install_binary_rock(rock_file, deps_mode) | |||
| 92 | 92 | ||
| 93 | ok, err = repos.run_hook(rockspec, "post_install") | 93 | ok, err = repos.run_hook(rockspec, "post_install") |
| 94 | if err then return nil, err end | 94 | if err then return nil, err end |
| 95 | 95 | ||
| 96 | ok, err = writer.update_manifest(name, version, nil, deps_mode) | ||
| 97 | if err then return nil, err end | ||
| 98 | |||
| 99 | util.announce_install(rockspec) | 96 | util.announce_install(rockspec) |
| 100 | util.remove_scheduled_function(rollback) | 97 | util.remove_scheduled_function(rollback) |
| 101 | return name, version | 98 | return name, version |
