summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-08-19 19:41:41 +0000
committerMike Fulbright <msf@redhat.com>2002-08-19 19:41:41 +0000
commit1c61f00e285c61165feba5d1b946c33fadd315e1 (patch)
treead6c9fa1ffd9c4fe7cfd3886953f88b72f2c1ffe
parentbe8d45a062c2c51aee1c87d6a662b7f4d2b9f5c6 (diff)
downloadanaconda-1c61f00e285c61165feba5d1b946c33fadd315e1.tar.gz
anaconda-1c61f00e285c61165feba5d1b946c33fadd315e1.tar.xz
anaconda-1c61f00e285c61165feba5d1b946c33fadd315e1.zip
add ability to toggle beta nag, turning it OFF now
-rw-r--r--constants.py2
-rw-r--r--installclass.py6
2 files changed, 7 insertions, 1 deletions
diff --git a/constants.py b/constants.py
index 591bf340e..f0f9009c9 100644
--- a/constants.py
+++ b/constants.py
@@ -13,6 +13,8 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
+BETANAG = 0
+
DEBUG = 0
DISPATCH_BACK = -1
diff --git a/installclass.py b/installclass.py
index ead3dfd68..fac8d97a1 100644
--- a/installclass.py
+++ b/installclass.py
@@ -23,7 +23,8 @@ from partitioning import *
from rhpl.log import log
from rhpl.translate import _, N_
-
+
+from constants import BETANAG
class BaseInstallClass:
# default to not being hidden
@@ -131,6 +132,9 @@ class BaseInstallClass:
"complete"
)
+ if not BETANAG:
+ dispatch.skipStep("betanag")
+
# XXX ugh, this badly needs some clean up
if iutil.getArch() == "alpha" or iutil.getArch() == "ia64":
dispatch.skipStep("bootdisk")