mkimage-profiles/features.in/speech/live/image-scripts.d/10-voiceman
Michael Shigorin e469a19e2a speech-*: refactored and unified
These two features were largely an internal fork,
let's refactor them into a single tunable one.
2013-11-22 21:28:37 +04:00

16 lines
342 B
Bash
Executable File

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