Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dsterba:SLE15-SP4
mc
mc-extd-misc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mc-extd-misc.patch of Package mc
--- misc/ext.d/misc.sh.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --- a/misc/ext.d/misc.sh.in +++ b/misc/ext.d/misc.sh.in @@ -52,7 +52,13 @@ do_view_action() { lyxcat "${MC_EXT_FILENAME}" ;; 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 ;; javaclass) jad -p "${MC_EXT_FILENAME}" 2>/dev/null || \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor