summaryrefslogtreecommitdiffstats
path: root/milo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-10-10 02:40:13 +0000
committerMatt Wilson <msw@redhat.com>1999-10-10 02:40:13 +0000
commit5d2c79296b734d0c14897f012d0701c79d2a9ea4 (patch)
tree327e4c6df6ee8ef9e7dc0966f3d056c72f5abf2a /milo.py
parent82da88c19700fff1f61543df080b1ddd1e2b0214 (diff)
downloadanaconda-5d2c79296b734d0c14897f012d0701c79d2a9ea4.tar.gz
anaconda-5d2c79296b734d0c14897f012d0701c79d2a9ea4.tar.xz
anaconda-5d2c79296b734d0c14897f012d0701c79d2a9ea4.zip
should be done now.
Diffstat (limited to 'milo.py')
-rw-r--r--milo.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/milo.py b/milo.py
index 4c5bd42af..2707b582e 100644
--- a/milo.py
+++ b/milo.py
@@ -44,9 +44,13 @@ class MiloInstall:
abootdev = wholeDevice (self.todo.mounts['/boot'][0])
try:
os.mkdir (confprefix)
- os.remove(todo.instPath + "/etc/aboot.conf")
except:
pass
+ # XXX stat /etc/aboot.conf and do the right thing
+ try:
+ os.remove(todo.instPath + "/etc/aboot.conf")
+ except:
+ pass
os.symlink("../boot/etc/aboot.conf",
self.todo.instPath + "/etc/aboot.conf")
@@ -95,10 +99,10 @@ class MiloInstall:
kernelroot = '/'
try:
os.remove(todo.instPath + "/etc/milo.conf")
- os.symlink("../boot/milo.conf",
- self.todo.instPath + "/etc/milo.conf")
except:
pass
+ os.symlink("../boot/milo.conf",
+ self.todo.instPath + "/etc/milo.conf")
else:
hasboot = 0
kernelroot = '/boot/'