To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79645





------- Additional comments from [EMAIL PROTECTED] Wed Aug  1 13:03:31 +0000 
2007 -------
Now, the installation should not create the user installation directory in the
root.  The scripts in the packages or the custom action (Windows) create a
temporary folder which is then used by unopkg as the user installation. When
unopkg is done then the directory is deleted.

On Windows the Temp directory is obtained by using the GetTempPath function. See
the documentation at 
http://msdn2.microsoft.com/en-us/library/Aa364992.aspx
to find out what the exact tmp directory will be.

On Linux and Solaris the tmp directory will determined by the environment 
variables
$TMPDIR, then 
$TMP

When both are not set then it is assumed that /tmp is the temp folder.

On Linux and Solaris the tmp dir is created by mktemp and if it is not available
then mkdir is used. mktemp is at /usr/lib/mktemp on Solaris and at /bin/mktemp
on Linux.

Please check if the alternate method to create the temporary directory works as
well.

The part which creates the directory looks like this:
Linux:#Find the temp dir
if [ -n "$TMPDIR" ]; then
  UNOPKGTMP="$TMPDIR"
elif [ -n "$TMP" ]; then
  UNOPKGTMP="$TMP"
elif [ -d "/tmp" ]; then
  UNOPKGTMP="/tmp"
else
  echo "No tmp directory found!"
  exit 1
fi

#Create the command which creates a temporary directory
if [ -x "/bin/mktemp" ]
then
  INSTDIR=`/bin/mktemp -d "${UNOPKGTMP}/userinstall.XXXXXX"`
else
  INSTDIR="${UNOPKGTMP}/userinstall.$$"
  mkdir "$INSTDIR"
fi

Solaris:
if [ -n "$TMPDIR" ]; then
  UNOPKGTMP="$TMPDIR"
elif [ -n "$TMP" ]; then
  UNOPKGTMP="$TMP"
elif [ -d "/tmp" ]; then
  UNOPKGTMP="/tmp"
else
  echo "No tmp directory found!"
  exit 1
fi

#Create the command which creates a temporary directory
if [ -x "/usr/bin/mktemp" ]
then
  INSTDIR=`/usr/bin/mktemp -d "${UNOPKGTMP}/userinstall.XXXXXX"`
else
  INSTDIR="${UNOPKGTMP}/userinstall.$$"
  mkdir "$INSTDIR"
fi
================================================
Please also verify the update of a package on Linux (rpm -U). For that reason I
have prepared an rpm whhich has a higher build id. It can be found in the SRC680
directory of the cws. A similar rpm exist also for openoffice.

Because I needed to adapt the script also for OpenOffice, you should test OOo as
well. 

The install sets of the cws contain a leaves1.oxt which is only availabe on this
cws and will not get into the master. It is just for testing purposes.








---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to