Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions lib/capit/capture.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,12 @@ def capture_command
xvfb = 'xvfb-run --server-args="-screen 0, 1024x768x24" '
xvfb.concat(cmd)
else
cmd
end
if check_cutycapt
cmd
else
raise "Required package CutyCapt is not installed."
end
end
end

def check_xvfb
Expand Down