Patch to make w3m image backend work on FreeBSD 11

Just an extra possible directory to search for w3m-img before outputting that it wasn't found on the system.
This commit is contained in:
João Vitor Rafael Chrisóstomo 2017-05-05 22:15:19 -03:00 committed by GitHub
parent abaf8808fe
commit d9d7b79d72

View file

@ -2292,7 +2292,10 @@ get_w3m_img_path() {
elif [[ -x "/usr/libexec64/w3m/w3mimgdisplay" ]]; then elif [[ -x "/usr/libexec64/w3m/w3mimgdisplay" ]]; then
w3m_img_path="/usr/libexec64/w3m/w3mimgdisplay" w3m_img_path="/usr/libexec64/w3m/w3mimgdisplay"
elif [[ -x "/usr/local/libexec/w3m/w3mimgdisplay" ]]; then
w3m_img_path="/usr/local/libexec/w3m/w3mimgdisplay"
else else
err "Image: w3m-img wasn't found on your system" err "Image: w3m-img wasn't found on your system"
fi fi