Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
yet cleaner :)
Baptiste Daroussin committed 14 years ago
commit 2b4147ddd5cb7d06ce1d0c5756d9d13999fda4a5
parent 925c0aa
1 file changed +1 -3
modified ports/bsd.pkgng.mk
@@ -86,9 +86,7 @@ fake-pkg:
	[ -f ${PKGPREUPGRADE} ] && ${CP} ${PKGPREUPGRADE} ${METADIR}/+PRE_UPGRADE; \
	[ -f ${PKGPOSTUPGRADE} ] && ${CP} ${PKGPOSTUPGRADE} ${METADIR}/+POST_UPGRADE; \
	${CP} ${DESCR} ${METADIR}/+DESC; \
-
	if [ -f ${PKGMESSAGE} ]; then \
-
	       ${CP} ${PKGMESSAGE} ${METADIR}/+DISPLAY; \
-
       fi
+
	[ -f ${PKGMESSAGE} ] && ${CP} ${PKGMESSAGE} ${METADIR}/+DISPLAY || return 0
.if !defined(NO_MTREE)
	@${CP} ${MTREE_FILE} ${METADIR}/+MTREE_DIRS
.endif