1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-10 03:25:01 -05:00
pacman/lib/libalpm
Xavier Chantry abefa23341 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>
2010-12-12 20:19:24 -06:00
..
po Separate be_files into be_sync and be_local 2010-10-14 13:17:38 +10:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Completely separate local and sync db handling 2010-10-14 13:17:39 +10:00
add.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
alpm_list.c alpm_list_diff_sorted - make some arguments const 2010-03-25 21:31:37 -05:00
alpm_list.h alpm_list_diff_sorted - make some arguments const 2010-03-25 21:31:37 -05:00
alpm.c Fix libfetch configure checking 2010-09-06 11:20:51 -05:00
alpm.h alpm: don't expose alpm_depcmp 2010-12-12 20:08:54 -06:00
backup.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
backup.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
be_local.c Add epoch support to pacman/libalpm 2010-10-13 23:29:26 -05:00
be_package.c Fix a few problems reported by clang-analyzer 2010-12-12 20:07:15 -06:00
be_sync.c Fix a few problems reported by clang-analyzer 2010-12-12 20:07:15 -06:00
conflict.c alpm: don't expose alpm_depcmp 2010-12-12 20:08:54 -06:00
conflict.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
db.c Move and rename splitname 2010-10-14 13:17:40 +10:00
db.h Remove lazy loading of deltas 2010-10-14 13:17:40 +10:00
delta.c More consistent printing of off_t and time_t 2010-03-25 21:58:35 -05:00
delta.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
deps.c alpm: don't expose alpm_depcmp 2010-12-12 20:08:54 -06:00
deps.h alpm: don't expose alpm_depcmp 2010-12-12 20:08:54 -06:00
dload.c Fix libfetch configure checking 2010-09-06 11:20:51 -05:00
dload.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
error.c Fix libfetch configure checking 2010-09-06 11:20:51 -05:00
graph.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
group.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
group.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
handle.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
handle.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
log.c Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
log.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
Makefile.am Separate be_files into be_sync and be_local 2010-10-14 13:17:38 +10:00
md5.c libalpm md5: use larger and dynamic buffer 2010-09-02 10:33:21 -05:00
md5.h libalpm/md5: Fix license header 2008-06-03 21:31:31 -05:00
package.c Add epoch support to pacman/libalpm 2010-10-13 23:29:26 -05:00
package.h Add epoch support to pacman/libalpm 2010-10-13 23:29:26 -05:00
remove.c alpm/remove.c : respect --dbonly during remove-upgrade 2010-12-12 20:19:24 -06:00
remove.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
sync.c alpm: don't expose alpm_depcmp 2010-12-12 20:08:54 -06:00
sync.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
trans.c Merge branch 'maint' 2010-12-12 19:53:20 -06:00
trans.h Bump copyright dates to 2010 2010-03-14 19:46:59 -05:00
util.c Move and rename splitname 2010-10-14 13:17:40 +10:00
util.h Move and rename splitname 2010-10-14 13:17:40 +10:00
version.c Remove call to function logger 2010-05-04 23:38:52 -05:00