$NetBSD: patch-examples_logrotate.cron,v 1.3 2017/03/06 12:59:53 fhajny Exp $ Add pkgsrc paths compatibility --- examples/logrotate.cron.orig 2016-12-02 13:12:33.000000000 +0000 +++ examples/logrotate.cron @@ -1,6 +1,6 @@ #!/bin/sh -/usr/sbin/logrotate /etc/logrotate.conf +@PREFIX@/sbin/logrotate @PKG_SYSCONFDIR@/logrotate.conf EXITVALUE=$? if [ $EXITVALUE != 0 ]; then /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"