diff options
author | Matt Wilson <msw@redhat.com> | 1999-10-10 02:40:13 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-10-10 02:40:13 +0000 |
commit | 5d2c79296b734d0c14897f012d0701c79d2a9ea4 (patch) | |
tree | 327e4c6df6ee8ef9e7dc0966f3d056c72f5abf2a /milo.py | |
parent | 82da88c19700fff1f61543df080b1ddd1e2b0214 (diff) | |
download | anaconda-5d2c79296b734d0c14897f012d0701c79d2a9ea4.tar.gz anaconda-5d2c79296b734d0c14897f012d0701c79d2a9ea4.tar.xz anaconda-5d2c79296b734d0c14897f012d0701c79d2a9ea4.zip |
should be done now.
Diffstat (limited to 'milo.py')
-rw-r--r-- | milo.py | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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/' |