summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-16 19:37:00 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-16 19:37:00 +0000
commita1f36454c2444aadd08df348264557a848e87247 (patch)
treecf0bdb62e1328e273c9812975fb852d8c3f68460 /lib/libalpm
parent17e72ff8826d4c0569f09998f6e7b48c855f065a (diff)
downloadpacman-a1f36454c2444aadd08df348264557a848e87247.tar.xz
Added a 'contrib' directory for other stuff that might be a good idea to maintain here.
* moved bash_completion from the "archlinux" script in the official bash_completion package * moved zsh_completion from the AUR zsh-pacman package
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/package.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index 85439a6c..c8d5989c 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -156,12 +156,10 @@ int alpm_pkg_compare_versions(pmpkg_t *local_pkg, pmpkg_t *pkg)
/* package should be ignored (IgnorePkg) */
_alpm_log(PM_LOG_WARNING, _("%s-%s: ignoring package upgrade (%s)"),
local_pkg->name, local_pkg->version, pkg->version);
- cmp = 0;
} else if(_alpm_pkg_istoonew(pkg)) {
/* package too new (UpgradeDelay) */
_alpm_log(PM_LOG_WARNING, _("%s-%s: delaying upgrade of package (%s)"),
local_pkg->name, local_pkg->version, pkg->version);
- cmp = 0;
}
}