Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 04feb0a8a239fee2469a6f27a0180675 > files > 2

mc-4.8.7-2.mga3.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