mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
Ticket #4167: clarify e-books support.
mc.ext: add fb2 support. ext.f/doc.sh.in: change key name for e-books. Thanks korrado <anyhow2@mail.ru> for the issue. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
b01fea54a7
commit
887bd8fe86
@ -87,7 +87,7 @@ do_view_action() {
|
||||
djvu)
|
||||
djvused -e print-pure-txt "${MC_EXT_FILENAME}"
|
||||
;;
|
||||
epub)
|
||||
ebook)
|
||||
einfo -v "${MC_EXT_FILENAME}"
|
||||
;;
|
||||
*)
|
||||
@ -197,7 +197,7 @@ do_open_action() {
|
||||
comic)
|
||||
cbrpager "${MC_EXT_FILENAME}" &
|
||||
;;
|
||||
epub)
|
||||
ebook)
|
||||
lucidor "${MC_EXT_FILENAME}" >/dev/null &
|
||||
;;
|
||||
*)
|
||||
|
@ -664,10 +664,10 @@ regex/i/\.djvu?$
|
||||
regex/i/\.cb[zr]$
|
||||
Open=@EXTHELPERSDIR@/doc.sh open comic
|
||||
|
||||
# Epub & mobi
|
||||
regex/i/\.(epub|mobi)$
|
||||
Open=@EXTHELPERSDIR@/doc.sh open epub
|
||||
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view epub
|
||||
# Epup, mobi, fb2
|
||||
regex/i/\.(epub|mobi|fb2)$
|
||||
Open=@EXTHELPERSDIR@/doc.sh open ebook
|
||||
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view ebook
|
||||
|
||||
|
||||
### Miscellaneous ###
|
||||
|
Loading…
Reference in New Issue
Block a user