[gnome-initial-setup/mcatanzaro/unbreak-third-party-again] software: call fedora-third-party properly




commit 8216a159cfefef94ebe6b0c83bd606389e943b6a
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Tue Sep 14 13:08:39 2021 -0500

    software: call fedora-third-party properly
    
    I wrote this code before fedora-third-party existed, and tested it
    against a dummy script. Well fedora-third-party exists now, and the
    commands I used here are not the commands supported by the real script,
    most like a typo on my part. Oops.

 gnome-initial-setup/pages/software/gis-software-page.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-initial-setup/pages/software/gis-software-page.c 
b/gnome-initial-setup/pages/software/gis-software-page.c
index a29634b8..28f807b1 100644
--- a/gnome-initial-setup/pages/software/gis-software-page.c
+++ b/gnome-initial-setup/pages/software/gis-software-page.c
@@ -91,9 +91,9 @@ gis_software_page_apply (GisPage      *gis_page,
       const char *arg1;
 
       if (gtk_switch_get_state (GTK_SWITCH (priv->proprietary_switch)))
-        arg1 = "enabled";
+        arg1 = "enable";
       else
-        arg1 = "disabled";
+        arg1 = "disable";
 
       gis_pkexec (program, arg1, "root", &error);
       if (error && !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]