Some PDF file reported as pure data by file utility, so guess PDF
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 23 Feb 2016 20:28:48 +0200
changeset 791 2183ca915c15
parent 790 aab9b6f83061
child 792 47100aeb0f36
Some PDF file reported as pure data by file utility, so guess PDF type based on extension
.config/mc/mc.ext
--- a/.config/mc/mc.ext	Fri Feb 19 13:28:40 2016 +0200
+++ b/.config/mc/mc.ext	Tue Feb 23 20:28:48 2016 +0200
@@ -175,7 +175,12 @@
 shell/.info
     Open=info -f %f
 type/^PDF
+    Include=my-pdf
+regex/\.[pP][dD][fF]
+    Include=my-pdf
+include/my-pdf
 	Open=evince %f 2>/dev/null &
+
 type/^MS\ Windows\ 3.x\ help\ file
     Open=wine winhlp32 %f 2>/dev/null &
 regex/\.[cC][hH][mM]