mkimage-profiles/features.in/speech/live/image-scripts.d/10-voiceman

16 lines
342 B
Plaintext
Raw Normal View History

#!/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