1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

Use @post[un]exec instead of deprecated @[un]exec which is deprecated

Do not bump portrevision as it does not change the final package
This commit is contained in:
Baptiste Daroussin 2016-11-20 12:45:36 +00:00
parent 18b8051ace
commit 9a6d4676bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426579

View File

@ -312,8 +312,8 @@ post-install-SDK-on:
add-plist-gnome:
.for subdir in gnome hicolor locolor
@${ECHO_CMD} "@rmtry share/icons/${subdir}/icon-theme.cache" >> ${TMPPLIST}
@${ECHO_CMD} "@exec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST}
@${ECHO_CMD} "@postexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST}
@${ECHO_CMD} "@postunexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST}
.endfor
.include <bsd.port.post.mk>