diff options
author | Xavier Chantry <chantry.xavier@gmail.com> | 2010-10-12 00:42:04 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-13 03:19:24 +0100 |
commit | abefa23341caa995cc0d155d30baa7faeb7a6c0e (patch) | |
tree | e723b522e8c34458019c2496a586e8f449760feb /doc/pacman.8.txt | |
parent | 3a9dec104858a64489b004296d009c8222e7f040 (diff) | |
download | pacman-abefa23341caa995cc0d155d30baa7faeb7a6c0e.tar.gz pacman-abefa23341caa995cc0d155d30baa7faeb7a6c0e.tar.xz |
alpm/remove.c : respect --dbonly during remove-upgrade
When a -Sk or -Uk operation induced a removal of an existing local
package, --dbonly was not in effect and the files were all removed.
Fixing this behavior was already marked as TODO in database012 pactest
------------
TODO: I honestly think the above should NOT delete the original les, it
hould upgrade the DB entry without touching anything on the file stem.
E.g. this test should be the same as:
pacman -R --dbonly dummy && pacman -U --dbonly dummy.pkg.tar.gz
------------
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
[Dan: small coding style touchup]
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc/pacman.8.txt')
-rw-r--r-- | doc/pacman.8.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt index 9f540df1..2b47a88c 100644 --- a/doc/pacman.8.txt +++ b/doc/pacman.8.txt @@ -158,8 +158,6 @@ Transaction Options (apply to '-S', '-R' and '-U') *-k, \--dbonly*:: Adds/Removes the database entry only, leaves all files in place. - On an upgrade operation, the existing package and all files - will be removed and the database entry for the new package will be added. *\--noprogressbar*:: Do not show a progress bar when downloading files. This can be useful |