fixed if statements, line 93, 96, 99
This commit is contained in:
parent
12fe7e1cea
commit
2143301107
6
setup.sh
6
setup.sh
@ -90,13 +90,13 @@ sudo raspi-config nonint do_ssh 0
|
|||||||
sudo raspi-config nonint do_camera 0
|
sudo raspi-config nonint do_camera 0
|
||||||
sudo raspi-config nonint disable_raspi_config_at_boot 0
|
sudo raspi-config nonint disable_raspi_config_at_boot 0
|
||||||
|
|
||||||
if [! dpkg -l | grep -q i2c-tools]; then
|
if [ ! dpkg -l | grep -q i2c-tools ]; then
|
||||||
sudo apt install -y i2c-tools
|
sudo apt install -y i2c-tools
|
||||||
fi
|
fi
|
||||||
if [! dpkg -l | grep -q libgpiod-dev]; then
|
if [ ! dpkg -l | grep -q libgpiod-dev ]; then
|
||||||
sudo apt install -y i2c-tools
|
sudo apt install -y i2c-tools
|
||||||
fi
|
fi
|
||||||
if [! dpkg -l | grep -q python3-libgpiod]; then
|
if [ ! dpkg -l | grep -q python3-libgpiod ]; then
|
||||||
sudo apt install -y i2c-tools
|
sudo apt install -y i2c-tools
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user