summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-11 01:47:35 +0000
committerMatt Wilson <msw@redhat.com>2001-07-11 01:47:35 +0000
commit3f3a0483d9a72a5a1111fd3bf6b1ec318aaf0201 (patch)
treeab41d261b589ad5aa4fe1fddc2f7e3e8dfd5f270 /packages.py
parent2003c2d4befe4b6cd1ec4410a1e89bf044f8c58c (diff)
downloadanaconda-3f3a0483d9a72a5a1111fd3bf6b1ec318aaf0201.tar.gz
anaconda-3f3a0483d9a72a5a1111fd3bf6b1ec318aaf0201.tar.xz
anaconda-3f3a0483d9a72a5a1111fd3bf6b1ec318aaf0201.zip
do not overwrite the users fstab on upgrade
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages.py b/packages.py
index d63d9b9b3..3d67b892f 100644
--- a/packages.py
+++ b/packages.py
@@ -413,7 +413,8 @@ def doPreInstall(method, id, intf, instPath, dir):
pass
# write out the fstab
- id.fsset.write(instPath)
+ if not upgrade:
+ id.fsset.write(instPath)
def doInstall(method, id, intf, instPath):
if flags.test: