From 57f90585357181ea3524ad541928dbc6286fdd50 Mon Sep 17 00:00:00 2001 From: scrappy Date: Wed, 29 Aug 2007 04:51:01 +0000 Subject: fix problem where, when you try and run on install, it gives error because LOCALBASE isn't set ... --- sysutils/bsdstats/Makefile | 2 +- sysutils/bsdstats/pkg-install | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sysutils/bsdstats') diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile index 8ffc32108d38..2597c73332ef 100644 --- a/sysutils/bsdstats/Makefile +++ b/sysutils/bsdstats/Makefile @@ -7,7 +7,7 @@ PORTNAME= bsdstats PORTVERSION= 5.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils DISTFILES= diff --git a/sysutils/bsdstats/pkg-install b/sysutils/bsdstats/pkg-install index afec6afef4b8..1b05fa7b3e99 100644 --- a/sysutils/bsdstats/pkg-install +++ b/sysutils/bsdstats/pkg-install @@ -45,7 +45,7 @@ if [ ":$2" = ":POST-INSTALL" ]; then echo "monthly_statistics_report_ports=\"YES\"" >> /etc/periodic.conf fi if yesno "Would you like to run it now" y; then - ${LOCALBASE}/etc/periodic/monthly/300.statistics -nodelay + ${PKG_PREFIX}/etc/periodic/monthly/300.statistics -nodelay fi fi else @@ -66,7 +66,7 @@ if [ ":$2" = ":POST-INSTALL" ]; then echo "monthly_statistics_report_ports=\"YES\"" >> /etc/periodic.conf fi if yesno "Would you like to run it now" y; then - ${LOCALBASE}/etc/periodic/monthly/300.statistics -nodelay + ${PKG_PREFIX}/etc/periodic/monthly/300.statistics -nodelay fi fi fi -- cgit