827643d4bb
This avoids the need for a confusing line of the form: DEINSTALL_TEMPLATE+= path/to/INSTALL in the package Makefile, and actually removes the need to specify it altogether since by convention, the existence of the DEINSTALL script is enough to add it to DEINSTALL_TEMPLATE.
18 lines
533 B
Text
18 lines
533 B
Text
# $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
|