Sophie

Sophie

distrib > Mageia > 8 > i586 > by-pkgid > 54f63d93c6b6a1cf1ac85b9aacc21d75 > files > 5

conda-4.9.2-1.mga8.src.rpm

diff --git a/conda/activate.py b/conda/activate.py
index e1b1812..567140f 100644
--- a/conda/activate.py
+++ b/conda/activate.py
@@ -825,7 +825,7 @@ class PosixActivator(_Activator):
         self.set_var_tmpl = "%s='%s'"
         self.run_script_tmpl = '. "%s"'
 
-        self.hook_source_path = join(CONDA_PACKAGE_ROOT, 'shell', 'etc', 'profile.d', 'conda.sh')
+        self.hook_source_path = '/etc/profile.d/conda.sh'
 
         super(PosixActivator, self).__init__(arguments)
 
@@ -882,7 +882,7 @@ class CshActivator(_Activator):
         self.set_var_tmpl = "set %s='%s'"
         self.run_script_tmpl = 'source "%s"'
 
-        self.hook_source_path = join(CONDA_PACKAGE_ROOT, 'shell', 'etc', 'profile.d', 'conda.csh')
+        self.hook_source_path = '/etc/profile.d/conda.csh'
 
         super(CshActivator, self).__init__(arguments)
 
@@ -993,8 +993,7 @@ class FishActivator(_Activator):
         self.set_var_tmpl = 'set -g %s "%s"'
         self.run_script_tmpl = 'source "%s"'
 
-        self.hook_source_path = join(CONDA_PACKAGE_ROOT, 'shell', 'etc', 'fish', 'conf.d',
-                                     'conda.fish')
+        self.hook_source_path = '/etc/fish/conf.d/conda.fish'
 
         super(FishActivator, self).__init__(arguments)