Script to check main dependencies.

This commit is contained in:
Nicolás Ortega Froysa 2019-03-22 23:42:17 +01:00
parent 5161b37943
commit 21ecd1219c

21
checkdeps.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh
## GNU Make
printf "? GNU Make ... "
if [ -x "$(command -v make)" ]
then
echo "yes."
else
echo "failed."
exit 1
fi
## JACK2
printf "? JACK2 >= 1.9 ... "
pkg-config jack --atleast-version="1.9"
if [ $? == 0 ]
then
echo "yes."
else
echo "failed."
exit 1
fi