diff options
Diffstat (limited to 'src/lpm.lua')
-rw-r--r-- | src/lpm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua index e12f8d5..339b244 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1594,7 +1594,7 @@ local function lpm_install(type, ...) lpm_lite_xl_install(version) else local potential_addons = { system_bottle:get_addon(id, version, { mod_version = system_bottle.lite_xl.mod_version }) } - local addons = common.grep(potential_addons, function(e) return not e:is_installed(system_bottle) end) + local addons = common.grep(potential_addons, function(e) return not e:is_installed(system_bottle) or REINSTALL end) if #addons == 0 and #potential_addons == 0 then error("can't find " .. (type or "addon") .. " " .. id .. " mod-version: " .. (system_bottle.lite_xl.mod_version or 'any')) end if #addons == 0 then log_warning((potential_addons[1].type or "addon") .. " " .. id .. " already installed") |