Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37888681
en ru br
Репозитории ALT
S:20110207-alt1
5.1: 20080904-alt1
4.1: 20080904-alt0.M41.1
www.altlinux.org/Changes

Группа :: Система/Настройка/Прочее
Пакет: tts-base

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

tts-base-20110207/000075500000000000000000000000001152363705200134745ustar00rootroot00000000000000tts-base-20110207/tts-unregister000075500000000000000000000012071152363705200164210ustar00rootroot00000000000000#!/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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin