From c62b22aa0ac32ede6fc1a0ee15eed109f9d7e3d1 Mon Sep 17 00:00:00 2001 From: Joel Klimont Date: Thu, 6 Oct 2022 20:54:27 +0200 Subject: [PATCH] (MINOR) clearup in postinstall --- client_s2/postinstall.sh | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/client_s2/postinstall.sh b/client_s2/postinstall.sh index ee38f11..92f9f81 100644 --- a/client_s2/postinstall.sh +++ b/client_s2/postinstall.sh @@ -4,25 +4,6 @@ if [ $? -ne 0 ]; then sed -i "2s/^/apt update\n/" /etc/rc.local fi -install_package() { - echo "Installing package '$1' via pip3" - pip3 install "$1" - if [ $? -eq 0 ]; then - echo "Successfully installed pip3 package '$1'" - else - echo "Could not install pip3 package '$1'" - exit 1 - fi -} - -#install_package "smbus" -#install_package "requests" -#install_package "flask" -#install_package "python-logstash-async" -#install_package "RPi.GPIO" -#install_package "spidev" -#install_package "influxdb_client" - pip3 install requests flask #echo "Setting up opencv4"