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
|
available = available and False
|
||||||
if available:
|
if available:
|
||||||
currentInstallation.append('espeakDriver')
|
currentInstallation.append('espeakDriver')
|
||||||
print('genericDriver (uses espeak by default)')
|
print('genericDriver (uses espeak-ng by default)')
|
||||||
available = True
|
available = True
|
||||||
if os.path.exists('/usr/bin/espeak-ng') or os.path.exists('/bin/espeak-ng'):
|
if os.path.exists('/usr/bin/espeak-ng') or os.path.exists('/bin/espeak-ng'):
|
||||||
print('espeak: OK')
|
print('espeak-ng: OK')
|
||||||
else:
|
else:
|
||||||
print('espeak: FAIL')
|
print('espeak-ng: FAIL')
|
||||||
available = available and False
|
available = available and False
|
||||||
if available:
|
if available:
|
||||||
currentInstallation.append('genericDriver (speech)')
|
currentInstallation.append('genericDriver (speech)')
|
||||||
|
Loading…
Reference in New Issue
Block a user