check_dependency: check for espeak-ng instead of espeak
This commit is contained in:
parent
566f2ca8a4
commit
fb20f1a681
@ -199,12 +199,12 @@ except:
|
||||
available = available and False
|
||||
if available:
|
||||
currentInstallation.append('espeakDriver')
|
||||
print('genericDriver (uses espeak by default)')
|
||||
print('genericDriver (uses espeak-ng by default)')
|
||||
available = True
|
||||
if os.path.exists('/usr/bin/espeak-ng') or os.path.exists('/bin/espeak-ng'):
|
||||
print('espeak: OK')
|
||||
print('espeak-ng: OK')
|
||||
else:
|
||||
print('espeak: FAIL')
|
||||
print('espeak-ng: FAIL')
|
||||
available = available and False
|
||||
if available:
|
||||
currentInstallation.append('genericDriver (speech)')
|
||||
|
Loading…
Reference in New Issue
Block a user