aboutsummaryrefslogtreecommitdiff
path: root/sysutils/syslog-ng1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/syslog-ng1/Makefile')
-rw-r--r--sysutils/syslog-ng1/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysutils/syslog-ng1/Makefile b/sysutils/syslog-ng1/Makefile
index 9fc3d8bb0fac..f4d9b66e80d3 100644
--- a/sysutils/syslog-ng1/Makefile
+++ b/sysutils/syslog-ng1/Makefile
@@ -51,9 +51,7 @@ post-install:
fi
@if [ ! -f ${PREFIX}/etc/rc.d/syslog-ng.sh.sample ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/syslog-ng.sh.sample startup file."; \
- ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/syslog-ng.sh.sample; \
- ${ECHO} "[ -x ${PREFIX}/sbin/syslog-ng ] && ${PREFIX}/sbin/syslog-ng && ${ECHO} -n ' syslog-ng'" >> ${PREFIX}/etc/rc.d/syslog-ng.sh.sample; \
- ${CHMOD} 755 ${PREFIX}/etc/rc.d/syslog-ng.sh.sample; \
+ ${INSTALL_SCRIPT} ${FILESDIR}/syslog-ng.sh.sample ${PREFIX}/etc/rc.d/syslog-ng.sh.sample; \
fi
@${CAT} ${PKGMESSAGE}