diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman.c | 12 | ||||
-rw-r--r-- | src/pacman.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/pacman.c b/src/pacman.c index aa1b7578..efbf2c17 100644 --- a/src/pacman.c +++ b/src/pacman.c @@ -405,12 +405,6 @@ int pacman_sync(pacdb_t *db, PMList *targets) /*fprintf(stderr, "%s: not found in sync db. skipping.", local->name);*/ continue; } - /* check if package should be ignored */ - if(is_in((char*)i->data, pmo_ignorepkg)) { - fprintf(stderr, ":: %s: ignoring package upgrade\n", (char*)i->data); - ignore = 1; - continue; - } /* compare versions and see if we need to upgrade */ cmp = rpmvercmp(local->version, sync->pkg->version); if(cmp > 0) { @@ -422,6 +416,12 @@ int pacman_sync(pacdb_t *db, PMList *targets) } else if(cmp == 0) { /* versions are identical */ continue; + } else if(is_in((char*)i->data, pmo_ignorepkg)) { + /* package should be ignored (IgnorePkg) */ + fprintf(stderr, ":: %s-%s: ignoring package upgrade (%s)\n", + local->name, local->version, sync->pkg->version); + ignore = 1; + continue; } else { PMList *lp = NULL; int found = 0; diff --git a/src/pacman.h b/src/pacman.h index f6581bfe..0f70ffe2 100644 --- a/src/pacman.h +++ b/src/pacman.h @@ -22,7 +22,7 @@ #define _PAC_PACMAN_H #ifndef PACVER -#define PACVER "2.4" +#define PACVER "2.4.1" #endif #ifndef PKGDIR |