Skip to content

Commit cc00af3

Browse files
authored
Update opensuse.md
1 parent dbf7b10 commit cc00af3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/arduino-ide/opensuse.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ Installation instructions for openSUSE
66

77
```bash
88
sudo usermod -a -G dialout $USER && \
9-
sudo zypper install git python3-pip python3-pyserial && \
9+
if [ `python --version 2>&1 | grep '2.7' | wc -l` = "1" ]; then \
10+
sudo zypper install git python-pip python-pyserial; \
11+
else \
12+
sudo zypper install git python3-pip python3-pyserial; \
13+
fi && \
1014
mkdir -p ~/Arduino/hardware/espressif && \
1115
cd ~/Arduino/hardware/espressif && \
1216
git clone https://github.com/espressif/arduino-esp32.git esp32 && \

0 commit comments

Comments
 (0)