From 058643a9342c68ce38b5dd55a02564a001f807e2 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 16 Mar 2021 17:14:35 -0300 Subject: repos: fix renaming of versioned bin/ entry back to non-versioned --- src/luarocks/repos.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/luarocks/repos.lua b/src/luarocks/repos.lua index af1daf9e..cf2ce14b 100644 --- a/src/luarocks/repos.lua +++ b/src/luarocks/repos.lua @@ -607,7 +607,7 @@ function repos.delete_version(name, version, deps_mode, quick) local next_name, next_version = manif.get_next_provider("command", item_name) if next_name then add_to_double_checks(double_checks, next_name, next_version) - local next_paths = get_deploy_paths(next_name, next_version, "lua", file_path, repo) + local next_paths = get_deploy_paths(next_name, next_version, "bin", file_path, repo) table.insert(renames, { src = next_paths.v, dst = next_paths.nv, suffix = cfg.wrapper_suffix }) end end -- cgit v1.2.3-55-g6feb