more fixes

This commit is contained in:
Chris Esposito 2019-08-18 16:38:29 +10:00
parent 8c609f685c
commit 8be8f7f95b
1 changed files with 5 additions and 3 deletions

View File

@ -3,10 +3,12 @@
set -e set -e
# Install prerequisites # Install prerequisites
QT5_NOT_INSTALLED=$(dpkg -s qt5-default) dpkg -s qt5-default
LIBUSB_NOT_INSTALLED=$(dpkg -s libusb-1.0-0-dev) QT5_NOT_INSTALLED=$?
dpkg -s libusb-1.0-0-dev
LIBUSB_NOT_INSTALLED=$?
if [ $QT5_NOT_INSTALLED ] || [ $LIBUSB_NOT_INSTALLED ]; then if [ $QT5_NOT_INSTALLED != 0 ] || [ $LIBUSB_NOT_INSTALLED != 0 ]; then
sudo apt-get update sudo apt-get update
sudo apt-get install qt5-default sudo apt-get install qt5-default
sudo apt-get install libusb-1.0-0-dev sudo apt-get install libusb-1.0-0-dev