mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-14 04:32:12 +00:00
Merge pull request #714 from Artoriuz/patch-1
Patch to make w3m image backend work on FreeBSD 12
This commit is contained in:
5
neofetch
5
neofetch
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user