foamCreateVideo: corrected test for avconv installation

This commit is contained in:
Chris Greenshields
2017-10-01 12:10:25 +01:00
parent 422556fd3f
commit 7207c2f98b

View File

@ -128,7 +128,7 @@ if [ "$fmt" = "webm" ] ; then
error "Please install avconv"
fi
else
if ! command -v avconv >/dev/null 2>&1 ; then
if command -v avconv >/dev/null 2>&1 ; then
echo "Creating image with avconv..."
avconv \
-framerate "$fps" \