diff options
Diffstat (limited to 'apk-model.lua')
-rw-r--r-- | apk-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apk-model.lua b/apk-model.lua index 0393555..4d2cb79 100644 --- a/apk-model.lua +++ b/apk-model.lua @@ -381,7 +381,7 @@ get_package_details = function(package) for i,val in ipairs(dependents) do if not revdeps[val] then revdeps[val] = true - if repo[val].upgrade then + if repo[val] and repo[val].upgrade then table.insert(details.upgrade.value, val.." "..repo[val].installed.." -> "..repo[val].version) end end |