summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yuminstall.py b/yuminstall.py
index dd272bf3c..af6963de0 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1492,9 +1492,9 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
if not upgrade:
anaconda.id.storage.fsset.write(anaconda.rootPath)
# rootpath mode doesn't have this file around
- if os.access("/etc/modprobe.d/anaconda", os.R_OK):
- shutil.copyfile("/etc/modprobe.d/anaconda",
- anaconda.rootPath + "/etc/modprobe.d/anaconda")
+ if os.access("/etc/modprobe.d/anaconda".conf, os.R_OK):
+ shutil.copyfile("/etc/modprobe.d/anaconda.conf",
+ anaconda.rootPath + "/etc/modprobe.d/anaconda.conf")
anaconda.id.network.write(instPath=anaconda.rootPath, anaconda=anaconda)
anaconda.id.storage.write(anaconda.rootPath)
if not anaconda.id.isHeadless: