don't check against full path
This commit is contained in:
parent
3b5953cb25
commit
e2ce6afb70
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user