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.
15 lines
390 B
Text
15 lines
390 B
Text
# $NetBSD: DEINSTALL,v 1.1 2006/06/15 20:40:16 jlam Exp $
|
|
#
|
|
# This file contains the contents of the OOo rpm pre-uninstall,
|
|
# post-uninstall scripts.
|
|
|
|
PRODUCTINSTALLLOCATION=${PKG_PREFIX}/openoffice.org@VER@
|
|
|
|
case ${STAGE} in
|
|
DEINSTALL)
|
|
if [ -h $PRODUCTINSTALLLOCATION/program/libfreetype.so.6 ]
|
|
then
|
|
${RM} $PRODUCTINSTALLLOCATION/program/libfreetype.so.6 >/dev/null 2>&1
|
|
fi
|
|
;;
|
|
esac
|