update to work with libalpm 5.2

This commit is contained in:
2019-10-23 14:41:05 -03:00
parent e35b4c3ada
commit b6144a7164
13 changed files with 28 additions and 96 deletions

View File

@@ -861,7 +861,7 @@ namespace Pamac {
unowned Alpm.Package installed_pkg = pkgcache.data;
// check if installed_pkg is in IgnorePkg or IgnoreGroup
if (tmp_handle.should_ignore (installed_pkg) == 0) {
candidate = installed_pkg.sync_newversion (tmp_handle.syncdbs);
candidate = installed_pkg.get_new_version (tmp_handle.syncdbs);
if (candidate != null) {
var infos = initialise_pkg_struct (candidate);
infos.installed_version = installed_pkg.version;