summaryrefslogtreecommitdiffstats
path: root/milo.py
diff options
context:
space:
mode:
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")