Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 019b765228b1a81c097c5361449d262b > files > 3

mc-4.8.11-2.mga4.src.rpm

--- mc-4.8.7/misc/ext.d/doc.sh.in.pdf	2013-01-04 22:19:53.391909241 -0500
+++ mc-4.8.7/misc/ext.d/doc.sh.in	2013-01-04 22:20:46.660679426 -0500
@@ -100,6 +100,8 @@
     pdf)
         if [ ! -n "$DISPLAY" ]; then
             pdftotext -layout -nopgbrk "${MC_EXT_FILENAME}" - | ${PAGER:-more}
+        elif which okular > /dev/null 2>&1; then
+            (okular "${MC_EXT_FILENAME}" &)
         elif see > /dev/null 2>&1; then
             (see "${MC_EXT_FILENAME}" &)
         else