aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2005-09-19 08:48:39 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2005-09-19 08:48:39 +0000
commitf80978b18967084d655aa99a06db4a7c9791e673 (patch)
treee45a21d69fad1fafb313e8a5affd9e447fc9da8b /bin
parent5e3a9a9a1ef2efcc095cf52e56a2a72a01fe78f3 (diff)
downloadcommon-data-f80978b18967084d655aa99a06db4a7c9791e673.tar
common-data-f80978b18967084d655aa99a06db4a7c9791e673.tar.gz
common-data-f80978b18967084d655aa99a06db4a7c9791e673.tar.bz2
common-data-f80978b18967084d655aa99a06db4a7c9791e673.tar.xz
common-data-f80978b18967084d655aa99a06db4a7c9791e673.zip
- Fix loop in www-browser (patch from Andrey Borzenkov)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/www-browser2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/www-browser b/bin/www-browser
index fb37d0f..f34980a 100755
--- a/bin/www-browser
+++ b/bin/www-browser
@@ -40,6 +40,8 @@ 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