Merge pull request #57 from makermelissa/master
Fixes PiTFT Installer for Buster
This commit is contained in:
commit
a2f7fb1fd2
1 changed files with 3 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ TRANSFORM_28c180="1 0 0 0 1 0 0 0 1"
|
|||
TRANSFORM_28c270="0 -1 1 1 0 0 0 0 1"
|
||||
|
||||
|
||||
warning() {
|
||||
warning() {
|
||||
echo WARNING : $1
|
||||
}
|
||||
|
||||
|
|
@ -190,7 +190,8 @@ reconfig() {
|
|||
|
||||
function softwareinstall() {
|
||||
echo "Installing Pre-requisite Software...This may take a few minutes!"
|
||||
apt-get install -y bc fbi git python-dev python-pip python-smbus python-spidev evtest tslib libts-bin 1> /dev/null || { warning "Apt failed to install software!" && exit 1; }
|
||||
apt-get install -y libts0 1> /dev/null 2>&1 || apt-get install -y tslib 1> /dev/null 2>&1 || { warning "Apt failed to install TSLIB!" && exit 1; }
|
||||
apt-get install -y bc fbi git python-dev python-pip python-smbus python-spidev evtest libts-bin 1> /dev/null || { warning "Apt failed to install software!" && exit 1; }
|
||||
pip install evdev 1> /dev/null || { warning "Pip failed to install software!" && exit 1; }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue