Image: Add path to NixOS w3m-img

This commit is contained in:
Muhammad Herdiansyah 2017-07-25 03:48:48 +07:00
parent 7222531b7d
commit 0a5a741e00
2 changed files with 8 additions and 0 deletions

View file

@ -19,6 +19,11 @@
- Fixed Raspbian being detected as ChromeOS. - Fixed Raspbian being detected as ChromeOS.
## Images
- [w3m] Fixed w3m-img not found on NixOS.
## ASCII ## ASCII
- Added small Debian. - Added small Debian.

View file

@ -2365,6 +2365,9 @@ get_w3m_img_path() {
elif [[ -x "/usr/local/libexec/w3m/w3mimgdisplay" ]]; then elif [[ -x "/usr/local/libexec/w3m/w3mimgdisplay" ]]; then
w3m_img_path="/usr/local/libexec/w3m/w3mimgdisplay" w3m_img_path="/usr/local/libexec/w3m/w3mimgdisplay"
elif [[ -x "$HOME/.nix-profile/libexec/w3m/w3mimgdisplay" ]]; then
w3m_img_path="$HOME/.nix-profile/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