Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > 375b36fbd203bae38259cbba1e1d9c0c > files > 4

mc-4.8.20-1.mga6.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