check_dependency: check for espeak-ng instead of espeak

This commit is contained in:
Chrys 2021-02-02 11:08:31 +01:00
parent 566f2ca8a4
commit fb20f1a681

View File

@ -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)')