dfe358d815
- spec cosmetics: cleanup macro usage
18 lines
528 B
Diff
18 lines
528 B
Diff
diff -up xdg-utils-1.0.2/scripts/xdg-open.mimeopen xdg-utils-1.0.2/scripts/xdg-open
|
|
--- xdg-utils-1.0.2/scripts/xdg-open.mimeopen 2007-06-24 14:58:01.000000000 -0500
|
|
+++ xdg-utils-1.0.2/scripts/xdg-open 2008-01-18 08:49:50.000000000 -0600
|
|
@@ -360,6 +360,13 @@ open_xfce()
|
|
|
|
open_generic()
|
|
{
|
|
+ if mimeopen -v 2>/dev/null 1>&2; then
|
|
+ mimeopen -n "$1"
|
|
+ if [ $? -eq 0 ]; then
|
|
+ exit_success
|
|
+ fi
|
|
+ fi
|
|
+
|
|
IFS=":"
|
|
for browser in $BROWSER; do
|
|
if [ x"$browser" != x"" ]; then
|