diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2022-03-15 19:45:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 19:45:26 +0000 |
commit | 77230ebb461bf1c3eddc7382cd7665d235581012 (patch) | |
tree | 787e27d9a925c6811ca944626017bd0a6d1480bc /etc | |
parent | allow-common-devel.inc: add missing java/scala paths (diff) | |
download | firejail-77230ebb461bf1c3eddc7382cd7665d235581012.tar.gz firejail-77230ebb461bf1c3eddc7382cd7665d235581012.tar.zst firejail-77230ebb461bf1c3eddc7382cd7665d235581012.zip |
pip: fixes (#5053)
* pip: fix including local override
* pip: allow access to cache
The shared build-systems-common.profile (to which pip.profile redirects) blacklists ${HOME}/.cache/pip. Override that here.
* pip: add cache support in commented whitelist
Diffstat (limited to 'etc')
-rw-r--r-- | etc/profile-m-z/pip.profile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/profile-m-z/pip.profile b/etc/profile-m-z/pip.profile index a0926371f..560957d47 100644 --- a/etc/profile-m-z/pip.profile +++ b/etc/profile-m-z/pip.profile | |||
@@ -3,7 +3,7 @@ | |||
3 | # This file is overwritten after every install/update | 3 | # This file is overwritten after every install/update |
4 | quiet | 4 | quiet |
5 | # Persistent local customizations | 5 | # Persistent local customizations |
6 | include meson.local | 6 | include pip.local |
7 | # Persistent global definitions | 7 | # Persistent global definitions |
8 | include globals.local | 8 | include globals.local |
9 | 9 | ||
@@ -12,6 +12,9 @@ ignore read-only ${HOME}/.local/lib | |||
12 | # Allow python3 (blacklisted by disable-interpreters.inc) | 12 | # Allow python3 (blacklisted by disable-interpreters.inc) |
13 | include allow-python3.inc | 13 | include allow-python3.inc |
14 | 14 | ||
15 | noblacklist ${HOME}/.cache/pip | ||
16 | |||
17 | #whitelist ${HOME}/.cache/pip | ||
15 | #whitelist ${HOME}/.local/lib/python* | 18 | #whitelist ${HOME}/.local/lib/python* |
16 | 19 | ||
17 | # Redirect | 20 | # Redirect |