fix(adafruit-pitft.py): libts dependency

This commit is contained in:
Cyril "Nick" Engmann 2022-04-14 15:18:25 -04:00 committed by GitHub
parent ee839aa276
commit 9a03fea228
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -238,7 +238,8 @@ def softwareinstall():
print("Installing Pre-requisite Software...This may take a few minutes!")
if not shell.run_command("apt-get install -y libts0", True):
if not shell.run_command("apt-get install -y tslib"):
warn_exit("Apt failed to install TSLIB!")
if not shell.run_command("apt-get install -y libts-dev"):
warn_exit("Apt failed to install TSLIB!")
if not shell.run_command("apt-get install -y bc fbi git python3-dev python3-pip python3-smbus python3-spidev evtest libts-bin device-tree-compiler libraspberrypi-dev build-essential"):
warn_exit("Apt failed to install software!")
if not shell.run_command("pip3 install evdev"):