Hi,

HASFFMPEG=1; command -v ffmpeg >/dev/null 2>&1 || { HASFFMPEG=0;}; echo 
${HASFFMPEG}

checks to see if ffmpeg exists

then check the version

Christopher Cherrett wrote:
> Hi,
>
> Could someone please update the install_deps script to not use distro
> specific tools for searching the version of ffmpeg?
>
> I am running Gentoo and the script thinks I am using an unsupported
> distro :)
>
> ffmpeg -version|cut -d' ' -f3|head -1
>
> or like this:
>
> ffmpeg -version|awk -F' ' '{print $3}'|head -1
>
> Both output on my machine:
>
> 0.10.4
>
> If I am not missing something then we do not need to use the distro
> specific tools for anything.
>
> Thanks!
>


-- 
Christopher Cherrett
[email protected]
http://www.openoctave.org

_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to