Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > dba50d9e307494e9953620ffc5c47f0c > files > 3

mc-4.8.13-4.mga5.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