Remove another transaction obj from pkgdb and make xbps-pkgdb catch it.

This commit is contained in:
Juan RP committed 2013-02-07 17:49:28 +01:00
1 parent 569976888d
commit 178a6b58ae
3 files changed
+6 -2

No files matched your search

+4 -1
View File
@@ -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;
}