mirror of https://github.com/EspoTek/Labrador.git
more fixes
This commit is contained in:
parent
8c609f685c
commit
8be8f7f95b
|
@ -3,10 +3,12 @@
|
|||
set -e
|
||||
|
||||
# Install prerequisites
|
||||
QT5_NOT_INSTALLED=$(dpkg -s qt5-default)
|
||||
LIBUSB_NOT_INSTALLED=$(dpkg -s libusb-1.0-0-dev)
|
||||
dpkg -s qt5-default
|
||||
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 install qt5-default
|
||||
sudo apt-get install libusb-1.0-0-dev
|
||||
|
|
Loading…
Reference in New Issue