mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
810b46655e
PR: 143376 Submitted by: Darren Pilgrim <ports.maintainer@evilphi.com> (maintainer)
16 lines
290 B
Bash
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
|