diff options
author | Fathi Boudra <fabo@freedesktop.org> | 2010-04-22 10:47:13 +0000 |
---|---|---|
committer | Fathi Boudra <fabo@freedesktop.org> | 2010-04-22 10:47:13 +0000 |
commit | b5163b18a882ca7bc249d142e1947ca6b83ecf04 (patch) | |
tree | 7bb55941653a5c86a1297fa53d88bf67f5a66462 /scripts/xdg-email.in | |
parent | cf859ad6bff52ad21dd4583dad68a57e66517233 (diff) |
perform BROWSER check in any case. (BR27551)
Diffstat (limited to 'scripts/xdg-email.in')
-rwxr-xr-x | scripts/xdg-email.in | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/scripts/xdg-email.in b/scripts/xdg-email.in index e415d60..4034639 100755 --- a/scripts/xdg-email.in +++ b/scripts/xdg-email.in @@ -337,16 +337,17 @@ fi detectDE if [ x"$DE" = x"" ]; then - # if BROWSER variable is not set, check some well known browsers instead - if [ x"$BROWSER" = x"" ]; then - BROWSER=links2:links:lynx:w3m - if [ -n "$DISPLAY" ]; then - BROWSER=firefox:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER - fi - fi DE=generic fi +# if BROWSER variable is not set, check some well known browsers instead +if [ x"$BROWSER" = x"" ]; then + BROWSER=links2:links:lynx:w3m + if [ -n "$DISPLAY" ]; then + BROWSER=firefox:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER + fi +fi + case "$DE" in kde) open_kde "${mailto}" |