pkg: stop pseudo-templating packaging scripts

This commit is contained in:
Franco Fichtner 2018-09-22 10:51:11 +02:00
parent 6ebded2717
commit bfe16b38ab

View File

@ -210,9 +210,8 @@ PKG_SCRIPTS= +PRE_INSTALL +POST_INSTALL \
scripts:
.for PKG_SCRIPT in ${PKG_SCRIPTS}
@if [ -e ${.CURDIR}/${PKG_SCRIPT} ]; then \
@if [ -f ${.CURDIR}/${PKG_SCRIPT} ]; then \
cp -v -- ${.CURDIR}/${PKG_SCRIPT} ${DESTDIR}/; \
sed -i '' ${SED_REPLACE} ${DESTDIR}/${PKG_SCRIPT}; \
fi
.endfor