Script to check main dependencies.
This commit is contained in:
parent
5161b37943
commit
21ecd1219c
21
checkdeps.sh
Executable file
21
checkdeps.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user