freebsd-ports/sysutils/3dm/pkg-install
Marcus Alves Grando 860dd06f7b Update to 2.04.00.011
Proper use of USE_RC_SUBR
Add SHA256

PR:		88819
Submitted by:	James Kamlyn <jameskamlyn@gmail.com>
2005-11-11 01:29:39 +00:00

14 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