File PackageKit-avoid-endless-loop-on-autoupdate.patch of Package PackageKit

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

openSUSE Build Service is sponsored by