1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-10 03:25:01 -05:00
pacman/lib/libalpm
Chantry Xavier 83fa6aa289 Remove duplicated get_upgrades function, use sysupgrade instead.
The alpm_get_upgrades was exactly the same as find_replacements +
_alpm_sync_sysupgrade, except that it automatically made the eventual
replacements, without asking the user : Replace %s with %s/%s? [Y/n]

The replace question, asked in find_replacements. can now be skipped by
using a NULL trans argument, so that we get the same behavior as with
alpm_get_upgrades.

So alpm_db_get_upgrades() can now be replaced by
alpm_sync_sysupgrade(db_local, syncdbs).

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-21 00:05:05 -06:00
..
po Remove provide.c and provide.h . 2007-11-17 09:50:05 -06:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Add the pmconflict_t type. 2007-11-18 12:42:39 -06:00
add.h War on whitespace 2007-11-16 20:18:45 -06:00
alpm_list.c New alpm_list_join function 2007-11-20 23:31:40 -06:00
alpm_list.h New alpm_list_join function 2007-11-20 23:31:40 -06:00
alpm.c War on whitespace 2007-11-16 20:18:45 -06:00
alpm.h Remove duplicated get_upgrades function, use sysupgrade instead. 2007-11-21 00:05:05 -06:00
backup.c War on whitespace 2007-11-16 20:18:45 -06:00
backup.h War on whitespace 2007-11-16 20:18:45 -06:00
be_files.c Add missing header includes for setlocale 2007-11-20 11:01:56 -06:00
cache.c War on whitespace 2007-11-16 20:18:45 -06:00
cache.h War on whitespace 2007-11-16 20:18:45 -06:00
conflict.c Add the pmconflict_t type. 2007-11-18 12:42:39 -06:00
conflict.h Add the pmconflict_t type. 2007-11-18 12:42:39 -06:00
db.c Remove duplicated get_upgrades function, use sysupgrade instead. 2007-11-21 00:05:05 -06:00
db.h Versioned provisions. 2007-11-18 20:05:51 -06:00
delta.c Generalized alpm_list_find. 2007-11-17 09:44:48 -06:00
delta.h War on whitespace 2007-11-16 20:18:45 -06:00
deps.c Versioned provisions. 2007-11-18 20:05:51 -06:00
deps.h Add the pmconflict_t type. 2007-11-18 12:42:39 -06:00
error.c War on whitespace 2007-11-16 20:18:45 -06:00
error.h War on whitespace 2007-11-16 20:18:45 -06:00
group.c libalpm: introduce MALLOC and CALLOC macros 2007-10-29 01:00:52 -05:00
group.h War on whitespace 2007-11-16 20:18:45 -06:00
handle.c War on whitespace 2007-11-16 20:18:45 -06:00
handle.h War on whitespace 2007-11-16 20:18:45 -06:00
log.c War on whitespace 2007-11-16 20:18:45 -06:00
log.h War on whitespace 2007-11-16 20:18:45 -06:00
Makefile.am Remove provide.c and provide.h . 2007-11-17 09:50:05 -06:00
md5.c War on whitespace 2007-11-16 20:18:45 -06:00
md5.h Updates to fix Doxygen documentation generation 2007-10-14 17:29:32 -05:00
package.c Add missing header includes for setlocale 2007-11-20 11:01:56 -06:00
package.h War on whitespace 2007-11-16 20:18:45 -06:00
remove.c Simple s/conflict/fileconflict/ renaming. 2007-11-18 12:42:34 -06:00
remove.h War on whitespace 2007-11-16 20:18:45 -06:00
server.c War on whitespace 2007-11-16 20:18:45 -06:00
server.h War on whitespace 2007-11-16 20:18:45 -06:00
sync.c Remove duplicated get_upgrades function, use sysupgrade instead. 2007-11-21 00:05:05 -06:00
sync.h Remove duplicated get_upgrades function, use sysupgrade instead. 2007-11-21 00:05:05 -06:00
trans.c Remove duplicated get_upgrades function, use sysupgrade instead. 2007-11-21 00:05:05 -06:00
trans.h War on whitespace 2007-11-16 20:18:45 -06:00
util.c War on whitespace 2007-11-16 20:18:45 -06:00
util.h War on whitespace 2007-11-16 20:18:45 -06:00