diff options
author | Dan McGee <dan@archlinux.org> | 2007-04-28 19:56:29 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-28 19:56:29 -0400 |
commit | eeb38ef677a1a08089222f6553a70ca7306503ea (patch) | |
tree | bf0d60f06b0551278c1cbd655edfe6a36f70216b /src | |
parent | a71b943a09091438aaf240d513622f44d6728d6f (diff) | |
download | pacman-eeb38ef677a1a08089222f6553a70ca7306503ea.tar.xz |
Remove 'removes' array from libalpm
We don't use this functionality for now, so get rid of it and the
functions associated with it.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/callback.c | 4 | ||||
-rw-r--r-- | src/pacman/package.c | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 8654b4ef..be209b44 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -171,9 +171,6 @@ void cb_trans_evt(pmtransevt_t event, void *data1, void *data2) printf(_("checking for file conflicts... ")); } break; - case PM_TRANS_EVT_CLEANUP_START: - printf(_("cleaning up... ")); - break; case PM_TRANS_EVT_RESOLVEDEPS_START: printf(_("resolving dependencies... ")); break; @@ -186,7 +183,6 @@ void cb_trans_evt(pmtransevt_t event, void *data1, void *data2) } break; case PM_TRANS_EVT_CHECKDEPS_DONE: - case PM_TRANS_EVT_CLEANUP_DONE: case PM_TRANS_EVT_RESOLVEDEPS_DONE: case PM_TRANS_EVT_INTERCONFLICTS_DONE: printf(_("done.\n")); diff --git a/src/pacman/package.c b/src/pacman/package.c index 65045a53..03c2d88c 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -75,7 +75,6 @@ void dump_pkg_full(pmpkg_t *pkg, int level) list_display(_("Groups :"), alpm_pkg_get_groups(pkg)); list_display(_("Provides :"), alpm_pkg_get_provides(pkg)); list_display(_("Depends On :"), alpm_pkg_get_depends(pkg)); - list_display(_("Removes :"), alpm_pkg_get_removes(pkg)); /* Only applicable if installed */ if(level > 0) { list_display(_("Required By :"), alpm_pkg_get_requiredby(pkg)); @@ -128,7 +127,6 @@ void dump_pkg_sync(pmpkg_t *pkg, const char *treename) list_display(_("Groups :"), alpm_pkg_get_groups(pkg)); list_display(_("Provides :"), alpm_pkg_get_provides(pkg)); list_display(_("Depends On :"), alpm_pkg_get_depends(pkg)); - list_display(_("Removes :"), alpm_pkg_get_removes(pkg)); list_display(_("Conflicts With :"), alpm_pkg_get_conflicts(pkg)); list_display(_("Replaces :"), alpm_pkg_get_replaces(pkg)); printf(_("Download Size : %6.2f K\n"), (float)alpm_pkg_get_size(pkg) / 1024.0); |