fix vala 0.48 build

This commit is contained in:
2020-03-12 21:22:12 -03:00
parent 9b9880e65d
commit d3fe4c0bae
3 changed files with 52 additions and 52 deletions

View File

@@ -2037,7 +2037,7 @@ namespace Pamac {
// if it is an authentication or a download error, database was not modified
var err = get_current_error ();
if (err.message == dgettext (null, "Authentication failed")
|| err.errno == 54) { //Alpm.Errno.EXTERNAL_DOWNLOAD
|| err.errnos == 54) { //Alpm.Errno.EXTERNAL_DOWNLOAD
// recover old pkgnames
foreach (unowned string name in previous_to_install) {
to_install.add (name);