forked from pool/xdg-utils
dac49e8e04
Copy from X11:common:Factory/xdg-utils based on submit request 37559 from user llunak OBS-URL: https://build.opensuse.org/request/show/37559 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdg-utils?expand=0&rev=13
44 lines
1.3 KiB
Diff
44 lines
1.3 KiB
Diff
diff -uNr old-xdg-utils-1.0.2//scripts/xdg-email xdg-utils-1.0.2/scripts/xdg-email
|
|
--- old-xdg-utils-1.0.2//scripts/xdg-email 2010-04-02 16:58:27.281598288 +0200
|
|
+++ xdg-utils-1.0.2/scripts/xdg-email 2010-04-02 17:00:27.931347778 +0200
|
|
@@ -617,11 +617,12 @@
|
|
detectDE
|
|
|
|
if [ x"$DE" = x"" ]; then
|
|
- # if BROWSER variable is not set, check some well known browsers instead
|
|
- if [ x"$BROWSER" = x"" ]; then
|
|
- BROWSER=firefox:mozilla:netscape
|
|
- fi
|
|
- DE=generic
|
|
+ DE=generic
|
|
+fi
|
|
+
|
|
+# if BROWSER variable is not set, check some well known browsers instead
|
|
+if [ x"$BROWSER" = x"" ]; then
|
|
+ BROWSER=firefox:mozilla:netscape
|
|
fi
|
|
|
|
case "$DE" in
|
|
diff -uNr old-xdg-utils-1.0.2//scripts/xdg-open xdg-utils-1.0.2/scripts/xdg-open
|
|
--- old-xdg-utils-1.0.2//scripts/xdg-open 2010-04-02 16:58:27.290596083 +0200
|
|
+++ xdg-utils-1.0.2/scripts/xdg-open 2010-04-02 16:59:40.015352868 +0200
|
|
@@ -408,13 +408,14 @@
|
|
detectDE
|
|
|
|
if [ x"$DE" = x"" ]; then
|
|
- # if BROWSER variable is not set, check some well known browsers instead
|
|
- if [ x"$BROWSER" = x"" ]; then
|
|
- BROWSER=firefox:mozilla:netscape
|
|
- fi
|
|
DE=generic
|
|
fi
|
|
|
|
+# if BROWSER variable is not set, check some well known browsers instead
|
|
+if [ x"$BROWSER" = x"" ]; then
|
|
+ BROWSER=firefox:mozilla:netscape
|
|
+fi
|
|
+
|
|
case "$DE" in
|
|
kde)
|
|
open_kde "$url"
|