removed duplicate by correctly cleaning voice directory
Signed-off-by: Kai Kreuzer <kai@openhab.org>pull/136/head
parent
a0424deca7
commit
f4402016c7
|
@ -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."
|
||||
|
|
|
6
pom.xml
6
pom.xml
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue