#!/bin/sh
#
# StarOffice setup script
# (c) 1997, Star Division GmbH

cd `dirname $0`
sd_archive_path=`pwd`
sd_setup_binary=setup.bin
sd_platform=`uname -s`

# some platforms may need an additional search path for X11 shared libraries
case $sd_platform in
  SunOS)
	 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/openwin/lib
	 export LD_LIBRARY_PATH
	 ;;
      *)
	 LD_LIBRARY_PATH=@RPM_INSTALL_PREFIX@/lib:$LD_LIBRARY_PATH
	 export LD_LIBRARY_PATH
	 ;;
esac

	export SAL_FONTPATH XPPATH

# execute setup binary
exec $sd_archive_path/$sd_setup_binary $*

