From: cajus Date: Thu, 28 Jun 2007 13:31:48 +0000 (+0000) Subject: Added another thingie for iceweasel X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d0214aea9f6e54244da05a39b089e61ae86e7e04;p=gosa.git Added another thingie for iceweasel git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6738 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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