[packagekit] pisi MIME Types

Aşkın Yollu askin at askin.ws
Fri Aug 7 05:44:59 PDT 2009


Hi,
I try to update pisi backend.
When use
   $ pkcon install twitux-0.69-4-3.pisi (files)

I get  "Command failed:  This tool could not install the files: MIME
type not supported /home/kelebek/twitux-0.69-4-3.pisi" error.
I guess pk don't like "pisi" extension :)

I try to pisi MIME type to backend, but i fail.

I add
 /**
 * backend_get_mime_types:
 */
static gchar *
backend_get_mime_types (PkBackend *backend)
{
	return g_strdup ("application/x-pisi;");
}

to k-backend-pisi.c file, but it doesn't work.

how can i add.
where can i find documents for packagekit backend developers.

Thanks...

-- 
Aşkın Yollu



More information about the PackageKit mailing list