fix pianobooster-fluidsynth
This commit is contained in:
parent
b587b2e750
commit
9911029033
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user