gnome-control-center/gnome-control-center-info-never-use-gnome-software.patch

16 lines
595 B
Diff
Raw Normal View History

Index: gnome-control-center-41.0/panels/info-overview/cc-info-overview-panel.c
===================================================================
--- gnome-control-center-41.0.orig/panels/info-overview/cc-info-overview-panel.c
+++ gnome-control-center-41.0/panels/info-overview/cc-info-overview-panel.c
@@ -791,8 +791,8 @@ does_gnome_software_allow_updates (void)
static gboolean
does_gnome_software_exist (void)
{
- g_autofree gchar *path = g_find_program_in_path ("gnome-software");
- return path != NULL;
+ /* Don't use gnome-software in SLE. */
+ return FALSE;
}
static gboolean