diff options
author | Dan McGee <dan@archlinux.org> | 2007-07-14 09:34:39 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-14 09:34:39 -0400 |
commit | f0ea21cffca62c566c5e4d2c540c70fb891b9f4c (patch) | |
tree | 29d123bc5cf4b894c81f20531f7994b7a166f388 /lib/libalpm/alpm.h | |
parent | ce1fb07436279b2ac70bdad91cf81db550292322 (diff) | |
download | pacman-f0ea21cffca62c566c5e4d2c540c70fb891b9f4c.tar.xz |
Ensure requiredby entries are removed during an upgrade
This fixes the failure of the requiredby004 pactest in a not so pretty way,
but it gets the job done. I purposely used the extremely long name of
PM_TRANS_TYPE_REMOVEUPGRADE to be both clear and in the hope that someone
else will figure out a better solution.
Original idea from Nagy Gabor, patch updated and cleaned for current code.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 268437ba..8181f2e6 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -247,6 +247,7 @@ void *alpm_sync_get_data(const pmsyncpkg_t *sync); typedef enum _pmtranstype_t { PM_TRANS_TYPE_ADD = 1, PM_TRANS_TYPE_REMOVE, + PM_TRANS_TYPE_REMOVEUPGRADE, PM_TRANS_TYPE_UPGRADE, PM_TRANS_TYPE_SYNC } pmtranstype_t; |