From 2c4991c56e4d580a25c099ed0b6bb17c4139c22a Mon Sep 17 00:00:00 2001 From: Kshitij Date: Mon, 7 Oct 2024 01:25:41 +0530 Subject: [PATCH] removed if statements, line 93, 96, 99 --- setup.sh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/setup.sh b/setup.sh index c1a04a4..481d714 100755 --- a/setup.sh +++ b/setup.sh @@ -89,16 +89,7 @@ sudo raspi-config nonint do_serial_hw 0 sudo raspi-config nonint do_ssh 0 sudo raspi-config nonint do_camera 0 sudo raspi-config nonint disable_raspi_config_at_boot 0 - -if [! dpkg -l | grep -q i2c-tools]; then - sudo apt install -y i2c-tools -fi -if [! dpkg -l | grep -q libgpiod-dev]; then - sudo apt install -y i2c-tools -fi -if [! dpkg -l | grep -q python3-libgpiod]; then - sudo apt install -y i2c-tools -fi +sudo apt install -y i2c-tools libgpiod-dev python3-libgpiod python3 blinka-test.py echo -e "$line\nSetup complete\n$line\n"