mirror of
https://github.com/termux-pacman/glibc-packages.git
synced 2024-11-13 13:59:21 +00:00
def7fed6d5
gpkg/alsa-lib gpkg/clang gpkg/compiler-rt gpkg/fakeroot gpkg/harfbuzz gpkg/libdrm gpkg/lld gpkg/llvm gpkg/python-pip gpkg/krb5 gpkg/xmlto
20 lines
817 B
Diff
20 lines
817 B
Diff
--- pip-22.3.1/src/pip/_internal/utils/appdirs.py
|
|
+++ pip-22.3.1/src/pip/_internal/utils/appdirs.py
|
|
@@ -49,4 +49,4 @@ def site_config_dirs(appname: str) -> List[str]:
|
|
return [dirval]
|
|
|
|
# Unix-y system. Look in /etc as well.
|
|
- return dirval.split(os.pathsep) + ["/etc"]
|
|
+ return dirval.split(os.pathsep) + ["@TERMUX_PREFIX@/etc"]
|
|
--- pip-22.3.1/src/pip/_vendor/platformdirs/unix.py
|
|
+++ pip-22.3.1/src/pip/_vendor/platformdirs/unix.py
|
|
@@ -79,7 +79,7 @@ def site_config_dir(self) -> str:
|
|
def _site_config_dirs(self) -> list[str]:
|
|
path = os.environ.get("XDG_CONFIG_DIRS", "")
|
|
if not path.strip():
|
|
- path = "/etc/xdg"
|
|
+ path = "@TERMUX_PREFIX@/etc/xdg"
|
|
return [self._append_app_name_and_version(p) for p in path.split(os.pathsep)]
|
|
|
|
@property
|