* lib/mc.ext.in: Added ${PAGER} as fallback if neither lynx nor

links is installed.
This commit is contained in:
Roland Illig 2005-06-06 00:05:25 +00:00
parent c9fa68695e
commit bba40f1e93
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
2005-06-06 Roland Illig <roland.illig@gmx.de>
* NEWS: Added the differences between pre3 and HEAD.
* lib/mc.ext.in: Added ${PAGER} as fallback if neither lynx nor
links is installed.
2005-05-31 Andrew V. Samoilov <sav@bcs.zp.ua>

View File

@ -444,7 +444,7 @@ type/^PDF
# html
regex/\.([hH][tT][mM][lL]?)$
Open=if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) >/dev/null 2>&1; else links %f 2>/dev/null || lynx -force_html %f; fi
Open=(if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) 1>&2; else links %f || lynx -force_html %f || ${PAGER:-more} %f; fi) 2>/dev/null
View=%view{ascii} lynx -dump -force_html %f
# StarOffice 5.2