removed duplicate by correctly cleaning voice directory

Signed-off-by: Kai Kreuzer <kai@openhab.org>
pull/136/head
Kai Kreuzer 2016-11-12 21:09:07 +01:00 committed by Thomas Dietrich
parent a0424deca7
commit f4402016c7
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,3 @@
id,label,description
marytts,Mary Text-to-Speech,"The Mary Text-to-Speech (TTS) service is a pure Java implementation of a TTS service, which uses the [MaryTTS](http://mary.dfki.de/) project of DFKI."
voicerss,VoiceRSS Text-to-Speech,"VoiceRSS is an Internet based TTS service hosted at http://api.voicerss.org."
voicerss,VoiceRSS Text-to-Speech,"VoiceRSS is an Internet based TTS service hosted at http://api.voicerss.org."

1 id label description
2 marytts Mary Text-to-Speech The Mary Text-to-Speech (TTS) service is a pure Java implementation of a TTS service, which uses the [MaryTTS](http://mary.dfki.de/) project of DFKI.
3 voicerss VoiceRSS Text-to-Speech VoiceRSS is an Internet based TTS service hosted at http://api.voicerss.org.
voicerss VoiceRSS Text-to-Speech VoiceRSS is an Internet based TTS service hosted at http://api.voicerss.org.

View File

@ -20,6 +20,9 @@
<fileset>
<directory>${basedir}/addons/bindings/</directory>
</fileset>
<fileset>
<directory>${basedir}/addons/voice/</directory>
</fileset>
<fileset>
<directory>${basedir}/addons/uis/</directory>
</fileset>
@ -295,8 +298,7 @@
if(name.contains('voice')) {
def voiceId =
it.name.replace('org.eclipse.smarthome.voice.', '').replace('org.openhab.voice.', '')
def simpleVoiceNameDir = new
File(voice.path, voiceId)
def simpleVoiceNameDir = new File(voice.path, voiceId)
it.renameTo(simpleVoiceNameDir)
def readme = new
File(simpleVoiceNameDir.path, 'README.md')