diff options
author | Dave Reisner <d@falconindy.com> | 2011-03-23 22:34:02 -0400 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2011-03-23 22:34:02 -0400 |
commit | 7511a4b71ec0581a9d478d1a50887957f0d719e9 (patch) | |
tree | db66281c8900de1015b3b5f9e771494077c617c1 /expac.c | |
parent | eb85c6df72d4388cc6823ae6ef2b023f3e4b69ef (diff) | |
download | expac-7511a4b71ec0581a9d478d1a50887957f0d719e9.tar.xz |
remove preproc logic for pacman 3.4.3/3.5.0
Diffstat (limited to 'expac.c')
-rw-r--r-- | expac.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -106,11 +106,7 @@ static int alpm_init(void) { return ret; } -#ifdef _HAVE_ALPM_DB_REGISTER_LOCAL - db_local = alpm_db_register_local(); -#else db_local = alpm_option_get_localdb(); -#endif if (!db_local) { return 1; } @@ -510,12 +506,10 @@ static alpm_list_t *resolve_pkg(alpm_list_t *targets) { } pkg = alpm_db_get_pkg(repo, pkgname); -#ifdef _HAVE_ALPM_FIND_SATISFIER /* try to resolve as provide (e.g. awk => gawk) */ if (!pkg) { pkg = alpm_find_satisfier(alpm_db_get_pkgcache(repo), pkgname); } -#endif if (!pkg) { if (verbose) { |