summaryrefslogtreecommitdiffstats
path: root/milo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-15 01:00:43 +0000
committerMatt Wilson <msw@redhat.com>2000-02-15 01:00:43 +0000
commit436794fc16b1d25f0fcc4670dca749aa4d866dee (patch)
treef8c7ebc9c4048f38dbc2623b11cc5b052ccd7769 /milo.py
parent748b767eebbef7c6aa45eb168eaf3aba70b88944 (diff)
downloadanaconda-436794fc16b1d25f0fcc4670dca749aa4d866dee.tar.gz
anaconda-436794fc16b1d25f0fcc4670dca749aa4d866dee.tar.xz
anaconda-436794fc16b1d25f0fcc4670dca749aa4d866dee.zip
patch from hjl for backup milo
Diffstat (limited to 'milo.py')
-rw-r--r--milo.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/milo.py b/milo.py
index b61b07223..bb65c5e90 100644
--- a/milo.py
+++ b/milo.py
@@ -110,6 +110,9 @@ class MiloInstall:
hasboot = 0
kernelroot = '/boot/'
+ if os.access (self.todo.instPath + "/etc/milo.conf", os.R_OK):
+ os.rename (self.todo.instPath + "/etc/milo.conf",
+ self.todo.instPath + "/etc/milo.conf.rpmsave")
f = open (self.todo.instPath + "/etc/milo.conf", "w")
if hasboot:
f.write ("# NOTICE: You have a /boot partition. This means that all\n")