index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2011-07-02 02:01:38 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-07-02 02:01:38 +1000 |
commit | eb39a9482b711d58a6c12840800f2372dee0c120 (patch) | |
tree | 0323b71b83042b3e3d66d70c94e40dbb4de35f5f /lib/libalpm/deps.c | |
parent | cf1401a04d5179c89af6460b812e171cc2da19f0 (diff) |
-rw-r--r-- | lib/libalpm/deps.c | 2 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 6ca79c34..8c8307fb 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -483,7 +483,7 @@ static int can_remove_package(alpm_db_t *db, alpm_pkg_t *pkg, alpm_list_t *targe if(!include_explicit) { /* see if it was explicitly installed */ - if(alpm_pkg_get_reason(pkg) == PM_PKG_REASON_EXPLICIT) { + if(alpm_pkg_get_reason(pkg) == ALPM_PKG_REASON_EXPLICIT) { _alpm_log(db->handle, PM_LOG_DEBUG, "excluding %s -- explicitly installed\n", alpm_pkg_get_name(pkg)); return 0; |