1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/sysutils/3dm/pkg-install
Martin Wilke 810b46655e - Update to 2.09.01.004
PR:		143376
Submitted by:	Darren Pilgrim <ports.maintainer@evilphi.com> (maintainer)
2010-02-02 16:17:23 +00:00

16 lines
290 B
Bash

#!/bin/sh
# 3ware hardcoded /etc/3dm2 into the binary, so we need to fake it
# in order to meet hier(9).
case $2 in
POST-INSTALL)
mkdir /etc/3dm2
ln -s ${PKG_PREFIX}/etc/3dm2/3dm2.conf /etc/3dm2/3dm2.conf
ln -s ${PKG_PREFIX}/etc/3dm2/3dm2.pem /etc/3dm2/3dm2.pem
;;
*)
;;
esac
exit 0