16178b1301
patch for .torrent extension was applied incorectly OBS-URL: https://build.opensuse.org/request/show/112589 OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=41
13 lines
433 B
Diff
13 lines
433 B
Diff
--- misc/mc.ext.in.orig 2012-03-19 20:26:22.000000000 +0400
|
|
+++ misc/mc.ext.in 2012-04-04 19:49:06.427780685 +0400
|
|
@@ -614,7 +614,8 @@
|
|
|
|
# torrent
|
|
regex/\.([tT][oO][rR][rR][eE][nN][tT])$
|
|
- View=%view{ascii} ctorrent -x %f 2>/dev/null
|
|
+ View=%view{ascii} which ctorrent >/dev/null 2>&1 && ctorrent -x %f 2>/dev/null || which transmission-show >/dev/null 2>&1 && transmission-show %f || file %f
|
|
+
|
|
|
|
### Plain compressed files ###
|
|
|