patch-ranger_ext_img_display_py 494 B

123456789101112131415
  1. $OpenBSD: patch-ranger_ext_img_display_py,v 1.1 2017/06/11 09:02:43 dcoppa Exp $
  2. Index: ranger/ext/img_display.py
  3. --- ranger/ext/img_display.py.orig
  4. +++ ranger/ext/img_display.py
  5. @@ -21,7 +21,7 @@ import termios
  6. from ranger.core.shared import FileManagerAware
  7. from subprocess import Popen, PIPE
  8. -W3MIMGDISPLAY_PATH = '/usr/lib/w3m/w3mimgdisplay'
  9. +W3MIMGDISPLAY_PATH = '${LOCALBASE}/libexec/w3m/w3mimgdisplay'
  10. W3MIMGDISPLAY_OPTIONS = []
  11. class ImgDisplayUnsupportedException(Exception):