commit b6d3336284e4097b56aea098c18f3f551460d7cb Author: Richard Pougnet <richard@pougnet.ca> Date: Mon Feb 20 23:50:08 2012 -0400 Fix FS#26445 Add a new function to determine if the package selected to be upgr aded is also inside the ignore list. If so, override the SyncFirst option and skip the package installation. diff --git a/src/pacman/sync.c b/src/pacman/sync.c index f370f82..64099e2 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -556,6 +556,9 @@ static alpm_list_t *syncfirst(void) { for(i = config->syncfirst; i; i = alpm_list_next(i)) { const char *pkgname = i->data; + if(alpm_list_find_str(config->ignorepkg, pkgname)){ + continue; + } alpm_pkg_t *pkg = alpm_db_get_pkg(db_local, pkgname); if(pkg == NULL) { continue;