summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1a73b75)
raw | patch | inline | side by side (parent: 1a73b75)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Jun 2007 13:31:48 +0000 (13:31 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Jun 2007 13:31:48 +0000 (13:31 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6738 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/scripts/start-gosa.sh | patch | blob | history |
index 818a8a16a874e9dc8cbce6e0d2f5c0692652d7b6..556a0fd9a21599ed0972e1b559cb03ce21dcc7be 100755 (executable)
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