check_dependency: check for espeak-ng instead of espeak

This commit is contained in:
Chrys 2021-02-02 11:05:08 +01:00
parent 404672a5b1
commit 566f2ca8a4

View File

@ -201,7 +201,7 @@ if available:
currentInstallation.append('espeakDriver') currentInstallation.append('espeakDriver')
print('genericDriver (uses espeak by default)') print('genericDriver (uses espeak by default)')
available = True available = True
if os.path.exists('/usr/bin/espeak') or os.path.exists('/bin/espeak'): if os.path.exists('/usr/bin/espeak-ng') or os.path.exists('/bin/espeak-ng'):
print('espeak: OK') print('espeak: OK')
else: else:
print('espeak: FAIL') print('espeak: FAIL')