mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Make sure that $PREFIX/www/cgi-bin exist before it tries to write to it.
Probably a bento-only test, but at least it builds without problems again.
This commit is contained in:
parent
983cf91124
commit
17f3a661b3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70482
@ -27,6 +27,9 @@ MAN8= uptimed.8
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/uptimed.sh.sample ${PREFIX}/etc/rc.d/
|
||||
if [ ! -d "${PREFIX}/www/cgi-bin/" ]; then \
|
||||
${MKDIR} -p ${PREFIX}/www/cgi-bin; \
|
||||
fi
|
||||
${INSTALL_PROGRAM} ${PREFIX}/bin/uprecords ${PREFIX}/www/cgi-bin/uprecords.cgi
|
||||
${INSTALL_DATA} ${WRKSRC}/sample-cgi/* ${PREFIX}/www/cgi-bin/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user