Репозитории ALT
S: | 20110207-alt1 |
5.1: | 20080904-alt1 |
4.1: | 20080904-alt0.M41.1 |
Группа :: Система/Настройка/Прочее
Пакет: tts-base
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
tts-base-20110207/ 0000755 0000000 0000000 00000000000 11523637052 0013474 5 ustar 00root root 0000000 0000000 tts-base-20110207/tts-unregister 0000755 0000000 0000000 00000001207 11523637052 0016421 0 ustar 00root root 0000000 0000000 #!/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 being remove.
# Example: /usr/sbin/tts-unregister espeak
#
# Michael Pozhidaev <msp@altlinux.org>
# Date: 2011-02-07
THIS="${0##*/}"
if [ -z "$1" ]; then
echo "$THIS:TTS name is not specified " >&2
exit 1
fi
VOICEMAN_FILE="/etc/voiceman.d/$1.output"
if [ -L "$VOICEMAN_FILE" ]; then
echo "$THIS:removing $VOICEMAN_FILE"
/bin/rm -f "$VOICEMAN_FILE"
fi