From 070eaec9b1be45ee985f9f8c97025c62c2a1a82a Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 12 Feb 2022 10:23:54 -0500 Subject: [PATCH] added install of python3-smbus --- update | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/update b/update index b4cc2cbf..b8d61613 100755 --- a/update +++ b/update @@ -8,10 +8,12 @@ if [ "$1" = "u" ]; then sudo apt-get update && sudo apt-get dist-upgrade -y - sudo apt-get install -y wiringpi git libasound2-dev i2c-tools python-picamera python3-picamera build-essential libgd-dev libmagic-dev minicom + sudo apt-get install -y wiringpi git libasound2-dev i2c-tools build-essential libgd-dev libmagic-dev python3-pip minicom fi +sudo apt-get install -y python3-smbus + sudo sed -i 's/update.sh/update /g' /etc/motd sudo sed -i 's/installed and/installed\nand/g' /etc/motd