summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-07-25 19:04:53 +0000
committerErik Troan <ewt@redhat.com>2000-07-25 19:04:53 +0000
commit49d2ca19558b1a7f3c8a751a1a28edc37f92d1a5 (patch)
tree2cc39057bd2677857511af7e6a7a3a35ed8d0b68
parentd48a2f3ce01094c5cbfc461e74e87110fc00d226 (diff)
downloadanaconda-49d2ca19558b1a7f3c8a751a1a28edc37f92d1a5.tar.gz
anaconda-49d2ca19558b1a7f3c8a751a1a28edc37f92d1a5.tar.xz
anaconda-49d2ca19558b1a7f3c8a751a1a28edc37f92d1a5.zip
new /tmp/SERVER format
-rw-r--r--text.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/text.py b/text.py
index 23fe1faec..479a518d2 100644
--- a/text.py
+++ b/text.py
@@ -461,7 +461,10 @@ class XconfiguratorWindow:
return INSTALL_NOOP
f = open (todo.instPath + "/tmp/SERVER", "w")
- f.write ("%s %d\n" % (todo.x.server, todo._cardindex))
+ if todo._cardindex == -1:
+ f.write ("%d\n" % todo._cardindex)
+ else:
+ f.write ("%s %d\n" % (todo.x.server, todo._cardindex))
f.close ()
screen.suspend ()