Added xbps_repository_pkg_replaces() to handle pkg "replaces" in the transaction.
The frontend (in that case xbps-bin(8)) is only responsible to remove those packages that have the "trans-action" string object set to "remove".
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
* @def XBPS_RELVER
|
||||
* Current library release date.
|
||||
*/
|
||||
#define XBPS_RELVER "20110130"
|
||||
#define XBPS_RELVER "20110201"
|
||||
|
||||
/**
|
||||
* @def XBPS_META_PATH
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*-
|
||||
* Copyright (c) 2010 Juan Romero Pardines.
|
||||
* Copyright (c) 2010-2011 Juan Romero Pardines.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -192,6 +192,13 @@ int HIDDEN xbps_file_exec_skipempty(const char *arg, ...);
|
||||
*/
|
||||
int HIDDEN xbps_file_chdir_exec(const char *path, const char *arg, ...);
|
||||
|
||||
/**
|
||||
* @private
|
||||
* From lib/package_replaces.c
|
||||
*/
|
||||
int HIDDEN xbps_repository_pkg_replaces(prop_dictionary_t,
|
||||
prop_dictionary_t);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif /* !_XBPS_API_IMPL_H_ */
|
||||
|
Reference in New Issue
Block a user