fix problem where, when you try and run on install, it gives error because
LOCALBASE isn't set ...
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= bsdstats
|
||||
PORTVERSION= 5.3
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= sysutils
|
||||
DISTFILES=
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user