mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Ticket #1686: use dvicat if dvi2tty not found
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
246c072e24
commit
1aa122b765
@ -70,7 +70,9 @@ do_view_action() {
|
|||||||
strings "${MC_EXT_FILENAME}"
|
strings "${MC_EXT_FILENAME}"
|
||||||
;;
|
;;
|
||||||
dvi)
|
dvi)
|
||||||
dvi2tty "${MC_EXT_FILENAME}"
|
which dvi2tty >/dev/null 2>&1 && \
|
||||||
|
dvi2tty "${MC_EXT_FILENAME}" || \
|
||||||
|
catdvi "${MC_EXT_FILENAME}"
|
||||||
;;
|
;;
|
||||||
djvu)
|
djvu)
|
||||||
djvused -e print-pure-txt "${MC_EXT_FILENAME}"
|
djvused -e print-pure-txt "${MC_EXT_FILENAME}"
|
||||||
|
Loading…
Reference in New Issue
Block a user