diff --git a/misc/ext.d/doc.sh.in b/misc/ext.d/doc.sh.in index 72deae7dd..c296ca270 100644 --- a/misc/ext.d/doc.sh.in +++ b/misc/ext.d/doc.sh.in @@ -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 & ;; *) diff --git a/misc/mc.ext.in b/misc/mc.ext.in index 2da4635d1..ea386b087 100644 --- a/misc/mc.ext.in +++ b/misc/mc.ext.in @@ -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 ###