0e35228d6b
Add yet a patch OBS-URL: https://build.opensuse.org/request/show/344264 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/PackageKit?expand=0&rev=259
22 lines
827 B
Diff
22 lines
827 B
Diff
ndex: PackageKit-1.0.10/backends/zypp/pk-backend-zypp.cpp
|
|
===================================================================
|
|
--- PackageKit-1.0.10.orig/backends/zypp/pk-backend-zypp.cpp
|
|
+++ PackageKit-1.0.10/backends/zypp/pk-backend-zypp.cpp
|
|
@@ -1471,6 +1471,7 @@ zypp_perform_execution (PkBackendJob *jo
|
|
for (ResPool::const_iterator it = pool.begin (); it != pool.end (); ++it) {
|
|
if (it->status ().isToBeInstalled ())
|
|
_dl_count++;
|
|
+#ifdef SLE
|
|
if (it->status ().isToBeInstalled () && !(it->resolvable()->licenseToConfirm().empty ())) {
|
|
gchar *eula_id = g_strdup ((*it)->name ().c_str ());
|
|
gboolean has_eula = pk_backend_is_eula_valid (backend, eula_id);
|
|
@@ -1488,6 +1489,7 @@ zypp_perform_execution (PkBackendJob *jo
|
|
}
|
|
g_free (eula_id);
|
|
}
|
|
+#endif
|
|
}
|
|
|
|
// Perform the installation
|
|
|