svn commit: r413316 - head/Mk

Mathieu Arnold mat at FreeBSD.org
Thu Apr 14 21:26:08 UTC 2016


Author: mat
Date: Thu Apr 14 21:26:07 2016
New Revision: 413316
URL: https://svnweb.freebsd.org/changeset/ports/413316

Log:
  Remove superfluous, non working, code.
  
  If there is one file in PKGPOSTDEINSTALL, it gets overwritten by itself,
  and if there's more than one, it'll fail.
  
  Noticed by:	antoine
  Sponsored by:	Absolight

Modified:
  head/Mk/bsd.port.mk   (contents, props changed)

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Thu Apr 14 20:34:29 2016	(r413315)
+++ head/Mk/bsd.port.mk	Thu Apr 14 21:26:07 2016	(r413316)
@@ -4665,7 +4665,6 @@ create-manifest:
 	for a in ${PKGPOSTDEINSTALL}; do \
 		[ -f $$a ] && ${CAT} $$a >> ${METADIR}/+POST_DEINSTALL ; \
 	done ; \
-	[ -f ${PKGPOSTDEINSTALL} ] && ${CP} ${PKGPOSTDEINSTALL} ${METADIR}/+POST_DEINSTALL; \
 	[ -f ${PKGUPGRADE} ] && ${CP} ${PKGUPGRADE} ${METADIR}/+UPGRADE; \
 	[ -f ${PKGPREUPGRADE} ] && ${CP} ${PKGPREUPGRADE} ${METADIR}/+PRE_UPGRADE; \
 	[ -f ${PKGPOSTUPGRADE} ] && ${CP} ${PKGPOSTUPGRADE} ${METADIR}/+POST_UPGRADE; \


More information about the svn-ports-all mailing list