Репозитории ALT
S: | 20110207-alt1 |
5.1: | 20080904-alt1 |
4.1: | 20080904-alt0.M41.1 |
Группа :: Система/Настройка/Прочее
Пакет: tts-base
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
tts-base/ 0000755 0000764 0000764 00000000000 11057666445 011006 5 ustar msp msp tts-base/tts-unregister 0000755 0000764 0000764 00000001164 11057666445 013735 0 ustar msp msp #!/bin/sh
#
# The script to remove all references to the TTS engine being removing from the system
# from different configuration files and settings.
#
# This script must be called from RPM spec file in %preun section
# with the single command line argument -- name of a TTS.
# Example: /usr/sbin/tts-unregister espeak
#
# Michael Pozhidaev <msp@altlinux.org>
if [ "$1" == '' ]; then
echo "$0:TTS name is not specified (must be a first command line argument)"
exit 1
fi
VOICEMAN_FILE="/etc/voiceman.d/$1.voiceman"
if [ -e "$VOICEMAN_FILE" ]; then
echo "Removing $VOICEMAN_FILE..."
rm -f "$VOICEMAN_FILE"
fi