From bfe16b38ab44d28065aa1c284eaf49873135ef11 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sat, 22 Sep 2018 10:51:11 +0200 Subject: [PATCH] pkg: stop pseudo-templating packaging scripts --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 47eb7e2eb..79b33d004 100644 --- a/Makefile +++ b/Makefile @@ -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