aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpm.lua')
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index ffa30f8..6496429 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -2046,7 +2046,7 @@ function lpm.describe()
end
function lpm.addon_upgrade()
- for i,addon in ipairs(system_bottle:installed_addons()) do
+ for _,addon in ipairs(system_bottle:installed_addons()) do
local upgrade = common.sort({ system_bottle:get_addon(addon.id, ">" .. addon.version) }, function(a, b) return compare_version(b.version, a.version) end)[1]
if upgrade then upgrade:install(system_bottle) end
end