index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Judd Vinet <judd@archlinux.org> | 2005-12-26 16:48:37 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-12-26 16:48:37 +0000 |
commit | 6bd15469b1febef5d061905b0f7d8f69bf96a08f (patch) | |
tree | 11e64825a4aed1d4bfdf7306fdf36215acb57118 /lib/libalpm/sync.c | |
parent | 58c9d5d66387821260ba9bdd0815568039462f39 (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 4 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 7e36fd11..9facd95f 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -40,7 +40,7 @@ #include "deps.h" #include "trans.h" #include "sync.h" -#include "rpmvercmp.h" +#include "versioncmp.h" #include "handle.h" #include "alpm.h" @@ -214,7 +214,7 @@ int sync_sysupgrade(pmtrans_t *trans, pmdb_t *db_local, PMList *dbs_sync) } /* compare versions and see if we need to upgrade */ - cmp = rpmvercmp(local->version, spkg->version); + cmp = versioncmp(local->version, spkg->version); if(cmp > 0 && !spkg->force) { /* local version is newer */ _alpm_log(PM_LOG_FLOW1, "%s-%s: local version is newer", |