[PATCH 01/14] Yum doesn't like repo baseurl containing space.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 iw/task_gui.py |    2 +-
 yuminstall.py  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iw/task_gui.py b/iw/task_gui.py
index 30c28dc..12e3558 100644
--- a/iw/task_gui.py
+++ b/iw/task_gui.py
@@ -311,7 +311,7 @@ class RepoEditor:
             return setupBaseRepo(self.anaconda, "nfs:%s:%s" % (server, path))
         else:
             import tempfile
-            dest = tempfile.mkdtemp("", repo.name, "/mnt")
+            dest = tempfile.mkdtemp("", repo.name.replace(" ", ""), "/mnt")
 
             try:
                 isys.mount("%s:%s" % (server, path), dest, "nfs")
diff --git a/yuminstall.py b/yuminstall.py
index 99239d7..41a7a0d 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -655,7 +655,7 @@ class AnacondaYum(YumSorter):
                             custom_buttons=[_("_Exit installer")])
                         sys.exit(1)
 
-                    dest = tempfile.mkdtemp("", ksrepo.name, "/mnt")
+                    dest = tempfile.mkdtemp("", ksrepo.name.replace(" ", ""), "/mnt")
 
                     try:
                         isys.mount(ksrepo.baseurl[6:], dest, "nfs")
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux