diff options
-rw-r--r-- | yuminstall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yuminstall.py b/yuminstall.py index dc541b571..eff50ba61 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -1493,7 +1493,7 @@ 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".conf, os.R_OK): + 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) |