[packagekit] simulate patch

Richard Hughes hughsient at gmail.com
Mon Aug 24 04:30:09 PDT 2009


2009/8/21 Daniel Nicoletti <daniel_nic85 at yahoo.com.br>:
> Ok, here is the smaller one,

I've noticed:

diff --git a/lib/packagekit-glib/pk-enum.c b/lib/packagekit-glib/pk-enum.c
index 41eef4f..eb58450 100644
--- a/lib/packagekit-glib/pk-enum.c
+++ b/lib/packagekit-glib/pk-enum.c
@@ -322,6 +322,7 @@ static const PkEnumMatch enum_info[] = {
 	{PK_INFO_ENUM_COLLECTION_INSTALLED,	"collection-installed"},
 	{PK_INFO_ENUM_COLLECTION_AVAILABLE,	"collection-available"},
 	{PK_INFO_ENUM_FINISHED,			"finished"},
+	{PK_INFO_ENUM_REINSTALLING,		"reinstalling"},
 	{0, NULL}
 };

What's the logic for adding this enum? When will a method ever
re-install a package?

Richard.



More information about the PackageKit mailing list