Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
PackageKit
PackageKit-BNC543595.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PackageKit-BNC543595.patch of Package PackageKit
diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 386beed..15b3a5e 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -1850,6 +1850,12 @@ backend_what_provides (PkBackend *backend, PkBitfield filters, PkProvidesEnum pr pk_backend_thread_create (backend, backend_what_provides_thread); } +static gchar * +backend_get_mime_types (PkBackend *backend) +{ + return g_strdup ("application/x-rpm"); +} + extern "C" PK_BACKEND_OPTIONS ( "Zypp", /* description */ "Boyd Timothy <btimothy@gmail.com>, " @@ -1859,7 +1865,7 @@ extern "C" PK_BACKEND_OPTIONS ( backend_destroy, /* destroy */ backend_get_groups, /* get_groups */ backend_get_filters, /* get_filters */ - NULL, /* get_mime_types */ + backend_get_mime_types, /* get_mime_types */ NULL, /* cancel */ NULL, /* download_packages */ NULL, /* get_categories */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor