# HG changeset patch # User Matthew Wild # Date 1779792620 -3600 # Node ID de95e133af8e4004b0279d66db7fdbe560e731d0 # Parent e86ede52bfbe43f28f5ef50f1123f79f89eec244 util.paths: Fix check for adding installer path to package.cpath diff -r e86ede52bfbe -r de95e133af8e util/paths.lua --- a/util/paths.lua Tue May 26 11:46:45 2026 +0100 +++ b/util/paths.lua Tue May 26 11:50:20 2026 +0100 @@ -62,7 +62,7 @@ package.path = package.path..lua_path_sep..installer_plugin_path..dir_sep.."share"..sub_path.."?.lua"; package.path = package.path..lua_path_sep..installer_plugin_path..dir_sep.."share"..sub_path.."?"..dir_sep.."init.lua"; end - if not string.find(package.path, installer_plugin_path, 1, true) then + if not string.find(package.cpath, installer_plugin_path, 1, true) then package.cpath = package.cpath..lua_path_sep..installer_plugin_path..dir_sep.."lib"..sub_path.."?.so"; end end