[PATCH 06/13] Install classes are now under the anaconda module directory.

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

 



---
 installclass.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/installclass.py b/installclass.py
index 5ede06a..26ce5ca 100644
--- a/installclass.py
+++ b/installclass.py
@@ -241,7 +241,8 @@ def availableClasses(showHidden=0):
     elif os.access("/tmp/product/installclasses", os.R_OK):
         path = "/tmp/product/installclasses"
     else:
-	path = "/usr/lib/anaconda/installclasses"
+        from distutils.sysconfig import get_python_lib
+        path = get_python_lib(plat_specific=1) + "/anaconda/installclasses"
 
     # append the location of installclasses to the python path so we
     # can import them
-- 
1.6.5.1

_______________________________________________
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