diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-29 19:10:05 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-31 16:38:14 +0100 |
commit | 09f9f2433173477c0b0d269203e0f40df0907aa9 (patch) | |
tree | eae68479fe1d80f20b84eb3c01a8def30aeee441 /src/pacman/conf.h | |
parent | 986edb8bd4308b73ef225a554f13a07c232ead91 (diff) | |
download | pacman-09f9f2433173477c0b0d269203e0f40df0907aa9.tar.gz pacman-09f9f2433173477c0b0d269203e0f40df0907aa9.tar.xz |
Allow both cleanmethod values to be specified at the same time
No reason to disallow this- it allows keeping even more packages around in
the cache. Test cases included for this case and to ensure the default
behavior is preserved.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r-- | src/pacman/conf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h index ff7a9c79..92c379fc 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -111,8 +111,8 @@ enum { /* clean method */ enum { - PM_CLEAN_KEEPINST = 0, /* default */ - PM_CLEAN_KEEPCUR + PM_CLEAN_KEEPINST = 1, + PM_CLEAN_KEEPCUR = (1 << 1) }; /* global config variable */ |