dpolovinkin / rpms / anaconda

Forked from rpms/anaconda 3 years ago
Clone
Blob Blame History Raw
From baa49690977c02b258bcd4e7c274ecc46919856a Mon Sep 17 00:00:00 2001
From: Pat Riehecky <riehecky@fnal.gov>
Date: Wed, 10 Jul 2019 09:48:12 -0500
Subject: [PATCH] branding: syspurpose doesn't make sense for CentOS

---
 pyanaconda/ui/gui/spokes/system_purpose.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pyanaconda/ui/gui/spokes/system_purpose.py b/pyanaconda/ui/gui/spokes/system_purpose.py
index 98664de..a73d6f9 100644
--- a/pyanaconda/ui/gui/spokes/system_purpose.py
+++ b/pyanaconda/ui/gui/spokes/system_purpose.py
@@ -62,6 +62,10 @@ class SystemPurposeSpoke(NormalSpoke):
         # record if the spoke has been visited by the user at least once
         self._spoke_visited = False
 
+    @property
+    def showable(self):
+        return False
+
     def initialize(self):
         NormalSpoke.initialize(self)
         self.initialize_start()
-- 
1.8.3.1