Fix the logic so it actually works as intended.
This commit is contained in:
parent
537ebf43d0
commit
7c87e39899
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377005
2 changed files with 4 additions and 4 deletions
|
@ -84,8 +84,8 @@ post-install:
|
|||
existing=`${STAT} -qf '%z' \
|
||||
${STAGEDIR}${DATADIR}/textures/$$f || \
|
||||
${ECHO_CMD} 0` ; \
|
||||
${TEST} $$new -gt $$existing && \
|
||||
${ECHO_CMD} "-- Replacing texture: $$f\
|
||||
${TEST} $$new -gt $$existing || continue ; \
|
||||
${ECHO_CMD} "-- Replacing texture: $$f\
|
||||
(has larger file size or missing)" ; \
|
||||
${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/textures ; \
|
||||
done)
|
||||
|
|
|
@ -64,8 +64,8 @@ post-install:
|
|||
new=`${STAT} -f '%z' $$f` ; \
|
||||
existing=`${STAT} -f '%z' \
|
||||
${STAGEDIR}${DATADIR}/textures/$$f` ; \
|
||||
${TEST} $$new -gt $$existing && \
|
||||
${ECHO_CMD} "-- Replacing texture: $$f\
|
||||
${TEST} $$new -gt $$existing || continue ; \
|
||||
${ECHO_CMD} "-- Replacing texture: $$f\
|
||||
(has larger file size)" ; \
|
||||
${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/textures ; \
|
||||
done)
|
||||
|
|
Loading…
Reference in a new issue