1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

. Fix the reinstall target by using cp rather than mv for updating the

zoneinfo files (otherwise they are no longer present during reinstall).

PR:		163790
Submitted by:	"A.J. Kehoe IV (Nanoman)" <cT2CTdJ6@nanoman.ca>
This commit is contained in:
Greg Lewis 2012-01-03 02:43:38 +00:00
parent a756ea4f17
commit bd05fd536a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288449
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ post-extract:
pre-install:
@${ECHO_CMD} -n "Updating time zones..."
@${RM} -rf ${WRKSRC}/jre/lib/zi
@${MV} -f ${WRKDIR}/tzupdater-${TZUPDATE_VERSION:S/_/./g}-${TZUPDATE_TZVERSION}/zi ${WRKSRC}/jre/lib/
@${CP} -R -f ${WRKDIR}/tzupdater-${TZUPDATE_VERSION:S/_/./g}-${TZUPDATE_TZVERSION}/zi ${WRKSRC}/jre/lib/
@${ECHO_CMD} "done"
@-${RM} -rf ${WRKSRC}/jre/lib/zi.tzdata*
.endif

View File

@ -138,7 +138,7 @@ post-extract:
pre-install:
@${ECHO_CMD} -n "Updating time zones..."
@${RM} -rf ${WRKSRC}/lib/zi
@${MV} -f ${WRKDIR}/tzupdater-${TZUPDATE_VERSION:S/_/./g}-${TZUPDATE_TZVERSION}/zi ${WRKSRC}/lib/
@${CP} -R -f ${WRKDIR}/tzupdater-${TZUPDATE_VERSION:S/_/./g}-${TZUPDATE_TZVERSION}/zi ${WRKSRC}/lib/
@${ECHO_CMD} "done"
@-${RM} -rf ${WRKSRC}/lib/zi.tzdata*
.endif