mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
nixos/test-driver: Fix bashism in Machine.pm.
Thanks to @bjornfor for the note. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
f12208c5a4
commit
2475a6a239
@ -499,7 +499,7 @@ sub screenshot {
|
||||
sub getScreenText {
|
||||
my ($self) = @_;
|
||||
|
||||
system("type -P tesseract &> /dev/null") == 0
|
||||
system("command -v tesseract &> /dev/null") == 0
|
||||
or die "getScreenText used but enableOCR is false";
|
||||
|
||||
my $text;
|
||||
|
Loading…
Reference in New Issue
Block a user