Skip to content

Commit

Permalink
Install libusb-1.0-0-dev if it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Materdaddy committed Nov 4, 2015
1 parent a8a627d commit eb78030
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fpp_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ if [ "$CXX" == "g++" ]; then
git reset --hard 91b76c154d967ba22c5dc25831de6b888065ff87
popd
fi

# Before building, check that we have libusb-1.0-0-dev
if ! dpkg --get-selections | grep -cq libusb-1.0-0-dev; then
$SUDO apt-get -q -y update
$SUDO apt-get -q -y --reinstall install libusb-1.0-0-dev
fi

make -C vastfmt CXX=$CXX
mkdir -p bin
cp vastfmt/radio bin/rds
Expand Down

0 comments on commit eb78030

Please sign in to comment.