From eab8280c3cf962cee293788e4cbb06b3d4eb9393 Mon Sep 17 00:00:00 2001 From: GZNGET FOSS Team Date: Fri, 3 Nov 2017 14:59:28 +0100 Subject: Die on missing dep. --- bin/arctica-browser-overlay | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/arctica-browser-overlay b/bin/arctica-browser-overlay index 1a38017..45e1488 100755 --- a/bin/arctica-browser-overlay +++ b/bin/arctica-browser-overlay @@ -91,6 +91,9 @@ if ($ENV{'TEKINXWID'} =~ /^([\da-zA-Z]{4,})$/) { die("did not get the clientnxwid via ENV{'TEKINXWID'}"); } +unless (-x "/usr/bin/xdotool") { + die("Are we missing xdotool '/usr/bin/xdotool'?"); +} my $lastcontact = (time + 5); -- cgit v1.2.3