File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 8888if [ " ${mode} " = " none" ] && [ " $backup " = " none" ]; then # no mode or backup was provided
8989 echo " Running cli installer"
9090 wget https://raw.githubusercontent.com/${author} /${repo} /${branch} /scripts/install.py
91- pip3 install inquirer==3.4.0
91+ python3 -m pip install --upgrade pip
92+ pip3 install inquirer==3.4.0 --break-system-packages
9293 python3 install.py
9394 exit
9495fi
@@ -123,6 +124,16 @@ if [[ "$OSTYPE" =~ darwin.* ]]; then
123124 mkdir -p ${SOURCES_DIR}
124125fi
125126
127+
128+ if [ ! -f ~ /.config/pip/pip.conf ]; then # create pip config
129+ mkdir -p ~ /.config/pip
130+ cat > ~ /.config/pip/pip.conf << EOF
131+ [global]
132+ break-system-packages = true
133+ EOF
134+ fi
135+
136+
126137# check TON components
127138file1=${BIN_DIR} /ton/crypto/fift
128139file2=${BIN_DIR} /ton/lite-client/lite-client
You can’t perform that action at this time.
0 commit comments