blob: dfb1fb3518756c3aa916785cbedbcae3ce468e7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: INSTALL,v 1.2 2006/01/04 15:29:41 ghen Exp $
# This file contains the contents of the OOo rpm
# pre-install, post-install, pre-uninstall and post-uninstall scripts
PRODUCTINSTALLLOCATION=${PKG_PREFIX}/openoffice.org@VER@
case ${STAGE} in
PRE-INSTALL)
# nothing to do
;;
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
;;
DEINSTALL)
if [ -h $PRODUCTINSTALLLOCATION/program/libfreetype.so.6 ]
then
${RM} $PRODUCTINSTALLLOCATION/program/libfreetype.so.6 >/dev/null 2>&1
fi
;;
esac
|