fix pianobooster-fluidsynth

This commit is contained in:
Alexey Loginov 2019-07-03 06:15:11 +03:00
parent b587b2e750
commit 9911029033

View File

@ -157,15 +157,6 @@ then
exit 1
fi
if [ "$use_jack" = "1" ]
then
echo "$MES8" "$MES9"
if [ ! -z "$notify_send" ]
then
notify-send -a pianobooster -i pianobooster "PianoBooster" "$MES8 $MES9"
fi
fi
alsa=`fluidsynth -o help|grep alsa`
if [ "$use_jack" = "0" ] && [ -z "$alsa" ]
@ -178,6 +169,15 @@ then
use_jack="1"
fi
if [ "$use_jack" = "1" ]
then
echo "$MES8" "$MES9"
if [ ! -z "$notify_send" ]
then
notify-send -a pianobooster -i pianobooster "PianoBooster" "$MES8 $MES9"
fi
fi
if [ ! -f "/usr/bin/jackd" ] && [ "$use_jack" = "1" ]
then
if [ ! -f "/usr/local/bin/jackd" ]