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:
parent
a756ea4f17
commit
bd05fd536a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288449
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user