File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
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- python3 -m pip install --upgrade pip
91+ if ! command -v pip3 & > /dev/null; then
92+ echo " pip not found. Installing pip..."
93+ python3 -m pip install --upgrade pip
94+ fi
9295 pip3 install questionary==2.1.0 --break-system-packages
9396 python3 install.py
9497 pip3 uninstall questionary -y
@@ -125,7 +128,6 @@ if [[ "$OSTYPE" =~ darwin.* ]]; then
125128 mkdir -p ${SOURCES_DIR}
126129fi
127130
128-
129131if [ ! -f ~ /.config/pip/pip.conf ]; then # create pip config
130132 mkdir -p ~ /.config/pip
131133cat > ~ /.config/pip/pip.conf << EOF
@@ -134,7 +136,6 @@ break-system-packages = true
134136EOF
135137fi
136138
137-
138139# check TON components
139140file1=${BIN_DIR} /ton/crypto/fift
140141file2=${BIN_DIR} /ton/lite-client/lite-client
You can’t perform that action at this time.
0 commit comments