fix(adafruit-pitft.py): libts dependency
This commit is contained in:
parent
ee839aa276
commit
9a03fea228
1 changed files with 2 additions and 1 deletions
|
|
@ -238,7 +238,8 @@ def softwareinstall():
|
||||||
print("Installing Pre-requisite Software...This may take a few minutes!")
|
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 libts0", True):
|
||||||
if not shell.run_command("apt-get install -y tslib"):
|
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"):
|
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!")
|
warn_exit("Apt failed to install software!")
|
||||||
if not shell.run_command("pip3 install evdev"):
|
if not shell.run_command("pip3 install evdev"):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue