don't check against full path

This commit is contained in:
Jonathan Baecker 2020-09-04 12:51:54 +02:00
parent 3b5953cb25
commit e2ce6afb70

View File

@ -41,7 +41,7 @@ runInstall() {
fi
fi
if [[ "$(which ffmpeg 2>&1)" == *"/usr/bin/which"* ]]; then
if [[ "$(which ffmpeg 2>&1)" == *"which"* ]]; then
echo ""
echo "------------------------------------------------------------------------------"
echo "compile and install (nonfree) ffmpeg:"
@ -61,7 +61,7 @@ runInstall() {
done
fi
if [[ "$(which nginx 2>&1)" == *"/usr/bin/which"* ]]; then
if [[ "$(which nginx 2>&1)" == *"which"* ]]; then
echo ""
echo "------------------------------------------------------------------------------"
echo "install and setup nginx:"