On 2006-12-16 03:27:05 -0800, [EMAIL PROTECTED] wrote:
> Revision: 20984
> http://trac.macosforge.org/projects/macports/changeset/20984
> Author: [EMAIL PROTECTED]
> Date: 2006-12-16 03:27:04 -0800 (Sat, 16 Dec 2006)
>
> Log Message:
> -----------
> create an empty log file after activation. See ticket:10847
>
> Modified Paths:
> --------------
> trunk/dports/textproc/scrollkeeper/Portfile
>
> Modified: trunk/dports/textproc/scrollkeeper/Portfile
> ===================================================================
> --- trunk/dports/textproc/scrollkeeper/Portfile 2006-12-16 08:33:58 UTC
> (rev 20983)
> +++ trunk/dports/textproc/scrollkeeper/Portfile 2006-12-16 11:27:04 UTC
> (rev 20984)
> @@ -52,5 +52,6 @@
> }
>
> post-activate {
> + system "touch ${prefix}/var/log/scrollkeeper.log"
> system "scrollkeeper-update"
> }
I added the following to ticket #10847:
The problem is that before the touch, the ${prefix}/var/log directory
should be created. BTW, shouldn't the log files all be in /var/log?
--
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev