mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Merge pull request #3022 from holta/pip3-no-cache-global-flag
scripts/ansible: pip3 config --global set global.cache-dir false
This commit is contained in:
commit
1b91b4d840
1 changed files with 2 additions and 1 deletions
|
@ -170,7 +170,8 @@ $APT_PATH/apt -y install python3-pip
|
|||
# 2021-10-30: Using pip is messy, leaving behind cached files, so turn off pip
|
||||
# cache system-wide before installing:
|
||||
# https://stackoverflow.com/questions/9510474/removing-pips-cache/61762308#61762308
|
||||
pip3 config set global.cache-dir false
|
||||
# https://github.com/iiab/iiab/pull/3022
|
||||
pip3 config --global set global.cache-dir false
|
||||
echo -e "\n\n'pip3 install --upgrade ansible-core' will now run:\n"
|
||||
if grep -qr buster /etc/apt; then
|
||||
pip3 install --upgrade ansible-core==2.11.6 # TEMPORARY support for RasPiOS Buster's Python 3.7
|
||||
|
|
Loading…
Reference in a new issue