Skip to content

Commit

Permalink
Take aliases into account for automatic package installation (#14052)
Browse files Browse the repository at this point in the history
  • Loading branch information
grorp committed Nov 28, 2023
1 parent dfe00f8 commit cfe1953
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builtin/mainmenu/content/dlg_contentstore.lua
Expand Up @@ -695,10 +695,11 @@ local function resolve_auto_install_spec()
return nil
end

local spec = store.aliases[auto_install_spec] or auto_install_spec
local resolved = nil

for _, pkg in ipairs(store.packages_full_unordered) do
if pkg.id == auto_install_spec then
if pkg.id == spec then
resolved = pkg
break
end
Expand Down

0 comments on commit cfe1953

Please sign in to comment.