osc copypac from project:Base:System package:mc revision:11
OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
c83437be47
commit
ffc3ae50d0
25
mc-word_docs.patch
Normal file
25
mc-word_docs.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
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])$
|
Reference in New Issue
Block a user