[PC-BSD Commits] r3184 - pbibuild/modules/thunderbird/overlay-dir

svn at pcbsd.org svn at pcbsd.org
Tue Jan 6 08:36:38 PST 2009


Author: kris
Date: 2009-01-06 08:36:38 -0800 (Tue, 06 Jan 2009)
New Revision: 3184

Modified:
   pbibuild/modules/thunderbird/overlay-dir/PBI.SetupScript.sh
Log:

Updated TB to also set itself as the defaul e-mail client when installed via text mode



Modified: pbibuild/modules/thunderbird/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/thunderbird/overlay-dir/PBI.SetupScript.sh	2009-01-06 16:30:05 UTC (rev 3183)
+++ pbibuild/modules/thunderbird/overlay-dir/PBI.SetupScript.sh	2009-01-06 16:36:38 UTC (rev 3184)
@@ -50,6 +50,29 @@
       chown ${USERNAME}:${USERNAME} ${HOMEDIR}/.kde/share/config/emaildefaults
   fi
 
+else
+
+  # Set TB as default when installing via text mode
+  cd /home
+  for i in `ls`
+  do
+
+    USER="$i"
+    if [ -d "${USER}/.kde/share/config" ]
+    then
+      echo "[Defaults]
+Profile=Default
+
+[PROFILE_Default]
+EmailClient=/usr/local/bin/thunderbird
+ServerType=
+TerminalClient=false" > ${USER}/.kde/share/config/emaildefaults
+      chown ${USER}:${USER} ${USER}/.kde/share/config/emaildefaults
+    fi
+
+
+  done
+
 fi
 
 



More information about the Commits mailing list