From 16178b130175b61383065e49f3e7f0b1263891a791aeb7b50564bf6493b75bcc Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 10 Apr 2012 11:52:44 +0000 Subject: [PATCH] Accepting request 112589 from home:subchaser 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 --- mc-apps-torrent.patch | 19 +++++++++---------- mc.changes | 5 +++++ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/mc-apps-torrent.patch b/mc-apps-torrent.patch index 4a1da68..8b12eff 100644 --- a/mc-apps-torrent.patch +++ b/mc-apps-torrent.patch @@ -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 ### + diff --git a/mc.changes b/mc.changes index 0dbbcfe..4d0100e 100644 --- a/mc.changes +++ b/mc.changes @@ -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