Blob Blame History Raw
diff --git a/conda/activate.py b/conda/activate.py
index 74e0527..67b0ea3 100644
--- a/conda/activate.py
+++ b/conda/activate.py
@@ -829,7 +829,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().__init__(arguments)
 
@@ -883,7 +883,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().__init__(arguments)
 
@@ -952,7 +952,7 @@ class XonshActivator(_Activator):
             self.script_extension = ".sh"
             self.run_script_tmpl = 'source-bash --suppress-skip-message "%s"'
 
-        self.hook_source_path = join(CONDA_PACKAGE_ROOT, "shell", "conda.xsh")
+        self.hook_source_path = "/etc/profile.d/conda.xsh"
 
         super().__init__(arguments)
 
@@ -999,9 +999,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().__init__(arguments)
 
diff -up conda-22.11.0/conda/base/context.py.etc conda-22.11.0/conda/base/context.py
--- conda-22.11.0/conda/base/context.py.etc	2022-12-03 23:09:08.993907458 -0700
+++ conda-22.11.0/conda/base/context.py	2022-12-04 13:53:58.853543455 -0700
@@ -654,7 +654,7 @@ class Context(Configuration):
         """ Directory where critical data for artifact verification (e.g.,
         various public keys) can be found. """
         # TODO (AV): Find ways to make this user configurable?
-        return join(self.conda_prefix, 'etc', 'conda')
+        return '/etc/conda'
 
     @property
     def signing_metadata_url_base(self):