diff --git a/ChangeLog b/ChangeLog index b21273820..9e1064578 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-10-12 Pavel Roskin <proski@gnu.org> + + * lib/mc.ext.in: Redirect stderr from "links" to suppress a + warning if it's not found. + 2002-10-09 Andrew V. Samoilov <sav@bcs.zp.ua> * doc/mc.1.in (SMB File System): Username is allowed in diff --git a/lib/mc.ext.in b/lib/mc.ext.in index 95410c4d6..7235d8ed8 100644 --- a/lib/mc.ext.in +++ b/lib/mc.ext.in @@ -297,8 +297,8 @@ type/^PDF # html regex/\.([Hh]tml?|HTML?)$ - Open=if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) >/dev/null 2>&1; else links %f || lynx -force_html %f; fi - View=%view{ascii} links -dump %f || lynx -dump -force_html %f + 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 + View=%view{ascii} links -dump %f 2>/dev/null || lynx -dump -force_html %f # StarOffice 5.2 shell/.sdw