diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-29 12:10:05 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-31 09:38:14 -0600 |
commit | 09f9f2433173477c0b0d269203e0f40df0907aa9 (patch) | |
tree | eae68479fe1d80f20b84eb3c01a8def30aeee441 /doc | |
parent | 986edb8bd4308b73ef225a554f13a07c232ead91 (diff) |
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 'doc')
-rw-r--r-- | doc/pacman.conf.5.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/pacman.conf.5.txt b/doc/pacman.conf.5.txt index ae4d7484..cb4c5898 100644 --- a/doc/pacman.conf.5.txt +++ b/doc/pacman.conf.5.txt @@ -136,14 +136,16 @@ Options These files refer to files in the package archive, so do not include the leading slash (the RootDir) when specifying them. -*CleanMethod =* KeepInstalled | KeepCurrent:: +*CleanMethod =* KeepInstalled &| KeepCurrent:: If set to `KeepInstalled` (the default), the '-Sc' operation will clean packages that are no longer installed (not present in the local database). If set to `KeepCurrent`, '-Sc' will clean outdated packages (not present in any sync database). The second behavior is useful when the package cache is shared among multiple machines, where the local databases are usually different, but the - sync databases in use could be the same. + sync databases in use could be the same. If both values are specified, + packages are only cleaned if not installed locally and not present in any + known sync database. *UseSyslog*:: Log action messages through syslog(). This will insert log entries into |