Reverse order of package install attempts

This commit is contained in:
Melissa LeBlanc-Williams 2019-07-02 11:49:37 -07:00
parent ab8e3fde35
commit f4420ef6c3

View file

@ -190,7 +190,7 @@ reconfig() {
function softwareinstall() {
echo "Installing Pre-requisite Software...This may take a few minutes!"
apt-get install -y tslib 1> /dev/null 2>&1 || apt-get install -y libts0 1> /dev/null 2>&1 || { warning "Apt failed to install TSLIB!" && 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; }
}