Add full path to tarsnap binary in sample config

If you run acts from cron it may fail without full path to tarsnap binary
due to cron not having /usr/local/bin in PATH by default.
This commit is contained in:
Mark Felder 2015-05-14 15:02:58 +00:00
parent 3e5fc46d27
commit 0f7baa3cff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386337

View File

@ -3,7 +3,7 @@
PORTNAME= acts
PORTVERSION= 1.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils archivers
MAINTAINER= feld@FreeBSD.org
@ -17,7 +17,7 @@ GH_ACCOUNT= alexjurkiewicz
NO_BUILD= yes
post-patch:
${REINPLACE_CMD} 's|ionice -c3 ||' ${WRKSRC}/acts.conf
${REINPLACE_CMD} 's|ionice -c3 tarsnap|${LOCALBASE}/bin/tarsnap|' ${WRKSRC}/acts.conf
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/acts ${STAGEDIR}/${PREFIX}/bin/acts