13968d0abe
Copy from Base:System/mc based on submit request 47520 from user psmt OBS-URL: https://build.opensuse.org/request/show/47520 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mc?expand=0&rev=23
26 lines
1.2 KiB
Diff
26 lines
1.2 KiB
Diff
Index: misc/mc.ext.in
|
|
===================================================================
|
|
--- misc/mc.ext.in.orig 2010-07-06 18:51:59.439510211 +0200
|
|
+++ misc/mc.ext.in 2010-07-06 18:54:56.647019263 +0200
|
|
@@ -510,12 +510,17 @@ shell/.abw
|
|
Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (ooffice %f >/dev/null 2>&1 &); fi >/dev/null
|
|
|
|
# Microsoft Word Document
|
|
-regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
|
|
+type/^Microsoft\ Office\ Document
|
|
Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (ooffice %f >/dev/null 2>&1 &); fi >/dev/null
|
|
- View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
|
|
+ View=%view{ascii} wvText %f - || strings %f
|
|
+
|
|
type/^Microsoft\ Word
|
|
Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (ooffice %f >/dev/null 2>&1 &); fi >/dev/null
|
|
- View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
|
|
+ View=%view{ascii} wvText %f - || strings %f
|
|
+
|
|
+regex/\.([Dd]ot|DOT|[Ww]ri|WRI)$
|
|
+ Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (OOo %f >/dev/null 2>&1 &); fi >/dev/null
|
|
+ View=%view{ascii} wvText %f - || strings %f
|
|
|
|
# RTF document
|
|
regex/\.([rR][tT][fF])$
|