Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
mc
mc-extd-xdg.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mc-extd-xdg.patch of Package mc
diff -ru1 misc/ext.d.orig/archive.sh misc/ext.d/archive.sh --- misc/ext.d.orig/archive.sh 2012-12-27 12:13:20.000000000 +0400 +++ misc/ext.d/archive.sh 2013-03-10 09:01:31.154705008 +0400 @@ -145,3 +145,3 @@ open) - "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ + [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ do_open_action "${filetype}" "${pager}" diff -ru1 misc/ext.d.orig/doc.sh.in misc/ext.d/doc.sh.in --- misc/ext.d.orig/doc.sh.in 2012-12-27 12:13:20.000000000 +0400 +++ misc/ext.d/doc.sh.in 2013-03-10 09:01:48.230710602 +0400 @@ -189,3 +189,3 @@ open) - "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ + [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ do_open_action "${filetype}" diff -ru1 misc/ext.d.orig/image.sh misc/ext.d/image.sh --- misc/ext.d.orig/image.sh 2012-12-27 12:13:20.000000000 +0400 +++ misc/ext.d/image.sh 2013-03-10 09:02:00.086714848 +0400 @@ -56,3 +56,3 @@ open) - "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ + [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ do_open_action "${filetype}" diff -ru1 misc/ext.d.orig/misc.sh.in misc/ext.d/misc.sh.in --- misc/ext.d.orig/misc.sh.in 2012-12-27 12:13:20.000000000 +0400 +++ misc/ext.d/misc.sh.in 2013-03-10 09:02:13.470718625 +0400 @@ -90,3 +90,3 @@ open) - "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ + [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ do_open_action "${filetype}" diff -ru1 misc/ext.d.orig/package.sh misc/ext.d/package.sh --- misc/ext.d.orig/package.sh 2012-12-27 12:13:20.000000000 +0400 +++ misc/ext.d/package.sh 2013-03-10 09:02:23.630723087 +0400 @@ -53,3 +53,3 @@ open) - "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ + [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ do_open_action "${filetype}" diff -ru1 misc/ext.d.orig/sound.sh misc/ext.d/sound.sh --- misc/ext.d.orig/sound.sh 2012-12-27 12:13:20.000000000 +0400 +++ misc/ext.d/sound.sh 2013-03-10 09:02:31.222725342 +0400 @@ -86,3 +86,3 @@ open) - "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ + [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ do_open_action "${filetype}" diff -ru1 misc/ext.d.orig/text.sh.in misc/ext.d/text.sh.in --- misc/ext.d.orig/text.sh.in 2012-12-27 12:13:20.000000000 +0400 +++ misc/ext.d/text.sh.in 2013-03-10 09:02:39.018727707 +0400 @@ -135,3 +135,3 @@ open) - "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ + [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ do_open_action "${filetype}" "${pager}" diff -ru1 misc/ext.d.orig/video.sh misc/ext.d/video.sh --- misc/ext.d.orig/video.sh 2012-12-27 12:13:20.000000000 +0400 +++ misc/ext.d/video.sh 2013-03-10 09:02:48.414731630 +0400 @@ -45,3 +45,3 @@ open) - "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ + [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ do_open_action "${filetype}" diff -ru1 misc/ext.d.orig/web.sh.in misc/ext.d/web.sh.in --- misc/ext.d.orig/web.sh.in 2012-12-27 12:13:20.000000000 +0400 +++ misc/ext.d/web.sh.in 2013-03-10 09:02:56.670734093 +0400 @@ -48,3 +48,3 @@ open) - "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ + [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \ do_open_action "${filetype}"
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