1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

fix problem where, when you try and run on install, it gives error because

LOCALBASE isn't set ...
This commit is contained in:
Marc G. Fournier 2007-08-29 04:51:01 +00:00
parent 2f430cefa8
commit 08220bb0f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198476
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= bsdstats
PORTVERSION= 5.3
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= sysutils
DISTFILES=

View File

@ -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