summaryrefslogtreecommitdiff
path: root/sysutils/3dm/pkg-install
blob: 1e5c89cfc4ebbb5cd05dc599c6a0958c7913d1c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

if [ "$2" != "PRE-INSTALL" ]; then
    exit 0
fi

#
# The binary, "3dmd" looks for the config file in etc, which is lame.  The file
# is placed in ${PREFIX}/etc/ (usually /usr/local/etc/) and symlinked in /etc/
# so that the binary can find it.
#
	ln -s ${PKG_PREFIX}/etc/3dmd.conf /etc/3dmd.conf

exit 0