From 64ecaf6aa7b2012208b906ae8639dbe63fa20909 Mon Sep 17 00:00:00 2001 From: yungwine Date: Mon, 30 Dec 2024 11:01:06 +0400 Subject: [PATCH] add pip conf on new installations --- scripts/install.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 1da6e42c..6ba21f15 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -72,7 +72,7 @@ done if [ "${mode}" = "" ]; then # no mode echo "Running cli installer" wget https://raw.githubusercontent.com/${author}/${repo}/${branch}/scripts/install.py - pip3 install inquirer==3.4.0 + pip3 install inquirer==3.4.0 --break-system-packages python3 install.py exit fi @@ -107,6 +107,16 @@ if [[ "$OSTYPE" =~ darwin.* ]]; then mkdir -p ${SOURCES_DIR} fi + +if [ ! -f ~/.config/pip/pip.conf ]; then # create pip config + mkdir -p ~/.config/pip +cat > ~/.config/pip/pip.conf <