Code

Updated script
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 Jun 2007 16:03:32 +0000 (16:03 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 Jun 2007 16:03:32 +0000 (16:03 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6706 594d385d-05f5-0310-b6e9-bd551577e9d8

contrib/scripts/start-gosa.sh

index 3fb6d0051ea8131e1a3b7df823355198a2047e13..446da5ec6c2d3cab46d93bd31161d874d81547b7 100755 (executable)
@@ -34,7 +34,11 @@ browser=$result
 if [ ! -d $HOME/.mozilla/$browser/*.gosa ]; then
        echo "No browser profile found for GOsa - creating one..."
        $browser -CreateProfile gosa
-       config=`echo $HOME/.mozilla/$browser/*.gosa/`
+       if [ "$browser" == "iceweasel" ]; then
+               config=`echo $HOME/.mozilla/firefox/*.gosa/`
+       else
+               config=`echo $HOME/.mozilla/$browser/*.gosa/`
+       fi
 
        cat << EOF > $config/prefs.js
 # Mozilla User Preferences