Remove another transaction obj from pkgdb and make xbps-pkgdb catch it.
This commit is contained in:
parent
569976888d
commit
178a6b58ae
@ -1,5 +1,5 @@
|
||||
/*-
|
||||
* Copyright (c) 2012 Juan Romero Pardines.
|
||||
* Copyright (c) 2013 Juan Romero Pardines.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -56,5 +56,8 @@ check_pkg_unneeded(struct xbps_handle *xhp, const char *pkgname, void *arg)
|
||||
if (prop_dictionary_get(pkgd, "transaction"))
|
||||
prop_dictionary_remove(pkgd, "transaction");
|
||||
|
||||
if (prop_dictionary_get(pkgd, "skip-obsoletes"))
|
||||
prop_dictionary_remove(pkgd, "skip-obsoletes");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -64,7 +64,7 @@
|
||||
*/
|
||||
#define XBPS_PKGINDEX_VERSION "1.6"
|
||||
|
||||
#define XBPS_API_VERSION "20130205"
|
||||
#define XBPS_API_VERSION "20130207"
|
||||
|
||||
#ifndef XBPS_VERSION
|
||||
#define XBPS_VERSION "UNSET"
|
||||
|
@ -161,6 +161,7 @@ xbps_register_pkg(struct xbps_handle *xhp, prop_dictionary_t pkgrd, bool flush)
|
||||
*/
|
||||
prop_dictionary_remove(pkgd, "remove-and-update");
|
||||
prop_dictionary_remove(pkgd, "transaction");
|
||||
prop_dictionary_remove(pkgd, "skip-obsoletes");
|
||||
|
||||
if (!xbps_pkgdb_replace_pkg(xhp, pkgd, pkgname, flush)) {
|
||||
xbps_dbg_printf(xhp,
|
||||
|
Loading…
Reference in New Issue
Block a user