Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ 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
python3 -m pip install --upgrade pip
pip3 install inquirer==3.4.0 --break-system-packages
python3 install.py
exit
fi
Expand Down Expand Up @@ -107,6 +108,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 <<EOF
[global]
break-system-packages = true
EOF
fi


# check TON components
file1=${BIN_DIR}/ton/crypto/fift
file2=${BIN_DIR}/ton/lite-client/lite-client
Expand Down