# $NetBSD: INSTALL,v 1.3 2006/06/15 20:40:16 jlam Exp $
#
# This file contains the contents of the OOo rpm pre-install, post-install
# scripts.

PRODUCTINSTALLLOCATION=${PKG_PREFIX}/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