# $NetBSD: INSTALL,v 1.1.1.1 2009/01/31 22:05:53 bad Exp $
#
# This file contains the contents of the OOo rpm pre-install, post-install
# scripts.

PRODUCTINSTALLLOCATION=${PKG_PREFIX}/opt/openoffice.org@VER@

case ${STAGE} in
POST-INSTALL)
	if [ ! -f $PRODUCTINSTALLLOCATION/program/libfreetype.so.6 ]
	then
	  if [ -f $PRODUCTINSTALLLOCATION/program/filter/libfreetype.so.6 ]
	  then
	    ${LN} -s $PRODUCTINSTALLLOCATION/program/filter/libfreetype.so.6 $PRODUCTINSTALLLOCATION/program/libfreetype.so.6 >/dev/null 2>&1
	  fi
	fi
	;;
esac
