diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/install.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua index 7458ec8e..68b7c125 100644 --- a/src/luarocks/install.lua +++ b/src/luarocks/install.lua | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | |||
| 2 | --- Module implementing the LuaRocks "install" command. | 1 | --- Module implementing the LuaRocks "install" command. |
| 3 | -- Installs binary rocks. | 2 | -- Installs binary rocks. |
| 4 | module("luarocks.install", package.seeall) | 3 | module("luarocks.install", package.seeall) |
| @@ -81,11 +80,6 @@ function install_binary_rock(rock_file, deps_mode) | |||
| 81 | if err then return nil, err, errcode end | 80 | if err then return nil, err, errcode end |
| 82 | end | 81 | end |
| 83 | 82 | ||
| 84 | local wrap_bin_scripts = true | ||
| 85 | if rockspec.deploy and rockspec.deploy.wrap_bin_scripts == false then | ||
| 86 | wrap_bin_scripts = false | ||
| 87 | end | ||
| 88 | |||
| 89 | ok, err = repos.deploy_files(name, version, repos.should_wrap_bin_scripts(rockspec)) | 83 | ok, err = repos.deploy_files(name, version, repos.should_wrap_bin_scripts(rockspec)) |
| 90 | if err then return nil, err end | 84 | if err then return nil, err end |
| 91 | 85 | ||
