You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
342 B

#!/bin/sh -e
case "$GLOBAL_SPEECH_LANG" in
en)
ln -s ../tts.d/espeak.voiceman /etc/voiceman.d/espeak.output
;;
ru)
ln -s ../tts.d/rhvoice-en.voiceman /etc/voiceman.d/rhvoice-en.output
ln -s ../tts.d/rhvoice.voiceman /etc/voiceman.d/rhvoice.output
;;
*)
echo "** error: speech feature used with no language chosen" >&2
exit 1
;;
esac