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
|
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
|
||||||
|
|
Loading…
Reference in New Issue