de082762cc
Updated to latest released (4.8.9) OBS-URL: https://build.opensuse.org/request/show/183610 OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=57
14 lines
518 B
Diff
14 lines
518 B
Diff
--- misc/ext.d/misc.sh.in.orig 2012-12-27 12:13:20.000000000 +0400
|
|
+++ misc/ext.d/misc.sh.in 2013-03-09 12:10:56.696615817 +0400
|
|
@@ -47,3 +47,9 @@
|
|
torrent)
|
|
- ctorrent -x "${MC_EXT_FILENAME}" 2>/dev/null
|
|
+ if type -p ctorrent >/dev/null 2>&1 ; then
|
|
+ ctorrent -x "${MC_EXT_FILENAME}" 2>/dev/null
|
|
+ elif type -p transmission-show >/dev/null 2>&1 ; then
|
|
+ transmission-show "${MC_EXT_FILENAME}"
|
|
+ else
|
|
+ file "${MC_EXT_FILENAME}"
|
|
+ fi
|
|
;;
|