Accepting request 113084 from Base:System

patch for .torrent extension was applied incorectly (forwarded request 112589 from subchaser)

OBS-URL: https://build.opensuse.org/request/show/113084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mc?expand=0&rev=40
This commit is contained in:
Stephan Kulow 2012-04-12 07:40:57 +00:00 committed by Git OBS Bridge
commit bd0dc74ac5
2 changed files with 14 additions and 10 deletions

View File

@ -1,13 +1,12 @@
diff -ru misc.orig/mc.ext.in misc/mc.ext.in
--- misc.orig/mc.ext.in 2011-02-05 17:54:56.000000000 +0300
+++ misc/mc.ext.in 2011-03-13 16:03:47.162150180 +0300
@@ -652,5 +652,8 @@
--- 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 @@
+regex/\.torrent$
+ View=%view{ascii} which transmission-show > /dev/null 2>&1 && transmission-show %f || file %f
# 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
+
### Default ###
# Default target for anything not described above
default/*
### Plain compressed files ###

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 4 15:53:44 UTC 2012 - subchaser1@gmail.com
- .torrent extension viewer fixed
-------------------------------------------------------------------
Sat Mar 24 08:54:23 UTC 2012 - subchaser1@gmail.com