mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
860dd06f7b
Proper use of USE_RC_SUBR Add SHA256 PR: 88819 Submitted by: James Kamlyn <jameskamlyn@gmail.com>
15 lines
344 B
Bash
15 lines
344 B
Bash
#!/bin/sh
|
|
|
|
if [ "$2" != "PRE-INSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
# 3ware lamely hardcode the locations of various things
|
|
|
|
mkdir /etc/3dm2
|
|
mkdir -p ${PKG_PREFIX}/etc/3dm2/msg
|
|
ln -s ${PKG_PREFIX}/etc/3dm2/msg /etc/3dm2/msg
|
|
ln -s ${PKG_PREFIX}/etc/3dm2/3dm2.conf /etc/3dm2/3dm2.conf
|
|
ln -s ${PKG_PREFIX}/etc/3dm2/3dm2.pem /etc/3dm2/3dm2.pem
|
|
exit 0
|