summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-02-12 00:40:08 +0000
committerMike Fulbright <msf@redhat.com>2003-02-12 00:40:08 +0000
commitd11e9a702bba633188a6f81355a3d5bab341ba38 (patch)
treea48547b8aea183c2161c505bfce04cfed3e385b5
parentb626b5f8b2384081d6d111e4b2302889e732603e (diff)
downloadanaconda-d11e9a702bba633188a6f81355a3d5bab341ba38.tar.gz
anaconda-d11e9a702bba633188a6f81355a3d5bab341ba38.tar.xz
anaconda-d11e9a702bba633188a6f81355a3d5bab341ba38.zip
make easier to debug this in future
-rw-r--r--packages.py18
1 files changed, 13 insertions, 5 deletions
diff --git a/packages.py b/packages.py
index 4068032ec..d4d653abb 100644
--- a/packages.py
+++ b/packages.py
@@ -85,13 +85,21 @@ def writeKSConfiguration(id, instPath):
def writeXConfiguration(id, instPath):
testmode = flags.test
-# use to test writing X config in test mode
-# testmode = 0
-# instPath = '/'
-# end code for test writing
-
+# comment out to test
if testmode:
return
+# end code to comment to test
+# uncomment to test writing X config in test mode
+# try:
+# os.mkdir("/tmp/etc")
+# except:
+# pass
+# try:
+# os.mkdir("/tmp/etc/X11")
+# except:
+# pass
+# instPath = '/'
+# end code for test writing
if id.xsetup.skipx:
return