ooo-build r11845 - in trunk: . patches/src680



Author: rengelhard
Date: Sat Mar  8 16:23:22 2008
New Revision: 11845
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11845&view=rev

Log:
2008-03-08  Rene Engelhard  <rene debian org>

        * patches/src680/ubuntu-soffice-config.diff: set $HOME from getent if
          not set


Modified:
   trunk/ChangeLog
   trunk/patches/src680/ubuntu-soffice-config.diff

Modified: trunk/patches/src680/ubuntu-soffice-config.diff
==============================================================================
--- trunk/patches/src680/ubuntu-soffice-config.diff	(original)
+++ trunk/patches/src680/ubuntu-soffice-config.diff	Sat Mar  8 16:23:22 2008
@@ -1,6 +1,6 @@
 --- desktop/scripts/soffice.sh~	2007-03-27 15:04:38.380150637 +0200
 +++ desktop/scripts/soffice.sh	2007-03-27 19:49:12.717713134 +0200
-@@ -39,13 +39,96 @@
+@@ -39,13 +39,100 @@
  # export STAR_PROFILE_LOCKING_DISABLED
  #
  
@@ -11,6 +11,10 @@
 -# Uncomment the line below if you suspect that OpenGL is not
 -# working on your system.
 -# SAL_NOOPENGL=true; export SAL_NOOPENGL
++if test -z "$HOME"; then
++    HOME=$(getent passwd $(whoami) | cut -d":" -f6)
++fi
++
 +# Ubuntu helper functions
 +file_or_home_on_nfs()
 +{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]