aboutsummaryrefslogtreecommitdiffstats
path: root/bin/www-browser
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2005-09-19 10:07:25 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2005-09-19 10:07:25 +0000
commit342c28e20e5ae237fb005269cbeee6e73a1760af (patch)
treecea66cb82873efb959addebf20fe2561d44b71ca /bin/www-browser
parent2a8c65a61507811024a722c056b9aa24459db2c9 (diff)
downloadcommon-data-342c28e20e5ae237fb005269cbeee6e73a1760af.tar
common-data-342c28e20e5ae237fb005269cbeee6e73a1760af.tar.gz
common-data-342c28e20e5ae237fb005269cbeee6e73a1760af.tar.bz2
common-data-342c28e20e5ae237fb005269cbeee6e73a1760af.tar.xz
common-data-342c28e20e5ae237fb005269cbeee6e73a1760af.zip
Fix previous commit
Diffstat (limited to 'bin/www-browser')
-rwxr-xr-xbin/www-browser4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/www-browser b/bin/www-browser
index f34980a..28e4b1a 100755
--- a/bin/www-browser
+++ b/bin/www-browser
@@ -40,14 +40,12 @@ if [[ -z "$BROWSER" ]]; then
if [[ -n "$NEWBROWSER" ]]; then
BROWSER=`echo $NEWBROWSER | sed -e 's/BrowserApplication=//' -e 's/!//'`
fi
- # check for loop BrowserApplication=www-browser
- strip_browser_var
- [[ -z "$BROWSER" ]] && which kfmclient > /dev/null 2>&1 && BROWSER="kfmclient openProfile webbrowsing"
fi
strip_browser_var
[[ -z "$BROWSER" ]] && BROWSER=`which mozilla-firefox 2> /dev/null`
+ [[ -z "$BROWSER" ]] && [[ -n "$KDE_FULL_SESSION" ]] && which kfmclient > /dev/null 2>&1 && BROWSER="kfmclient openProfile webbrowsing"
[[ -z "$BROWSER" ]] && BROWSER=`which epiphany 2> /dev/null`
[[ -z "$BROWSER" ]] && BROWSER=`which galeon 2> /dev/null`
[[ -z "$BROWSER" ]] && BROWSER=`which mozilla 2> /dev/null`