summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 6cc856b5b722..9b03bfcd2a79 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3461,10 +3461,8 @@ fake-pkg:
done; \
fi
.if !defined(NO_MTREE)
- @if [ ! -d ${PKG_DBDIR}/${PKGNAME} ]; then \
- if [ -f ${MTREE_FILE} ]; then \
- ${CP} ${MTREE_FILE} ${PKG_DBDIR}/${PKGNAME}/+MTREE_DIRS; \
- fi; \
+ @if [ -f ${MTREE_FILE} ]; then \
+ ${CP} ${MTREE_FILE} ${PKG_DBDIR}/${PKGNAME}/+MTREE_DIRS; \
fi
.endif
@if [ -e /tmp/${PKGNAME}-required-by ]; then \