From d0214aea9f6e54244da05a39b089e61ae86e7e04 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 28 Jun 2007 13:31:48 +0000 Subject: [PATCH] Added another thingie for iceweasel git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6738 594d385d-05f5-0310-b6e9-bd551577e9d8 --- contrib/scripts/start-gosa.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/contrib/scripts/start-gosa.sh b/contrib/scripts/start-gosa.sh index 818a8a16a..556a0fd9a 100755 --- a/contrib/scripts/start-gosa.sh +++ b/contrib/scripts/start-gosa.sh @@ -30,15 +30,21 @@ if [ -z "$result" ]; then exit 1 fi browser=$result +dbrowser=$browser + +# Workaround for debian +if [ "$browser" == "iceweasel" ]; then + dbrowser=firefox +fi # Check for presence of gosa profile -if [ ! -d $HOME/.mozilla/$browser/*.gosa ]; then +if [ ! -d $HOME/.mozilla/$dbrowser/*.gosa ]; then echo "No browser profile found for GOsa - creating one..." $browser -CreateProfile gosa if [ "$browser" == "iceweasel" ]; then config=`echo $HOME/.mozilla/firefox/*.gosa/` else - config=`echo $HOME/.mozilla/$browser/*.gosa/` + config=`echo $HOME/.mozilla/$dbrowser/*.gosa/` fi cat << EOF > $config/prefs.js -- 2.30.2