[20984] trunk/dports/textproc/scrollkeeper/Portfile

Vincent Lefevre vincent-opdarw at vinc17.org
Sun Dec 17 18:43:15 PST 2006


On 2006-12-16 03:27:05 -0800, source_changes at macosforge.org wrote:
> Revision: 20984
>           http://trac.macosforge.org/projects/macports/changeset/20984
> Author:   rhwood at macports.org
> 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 <vincent at vinc17.org> - 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)



More information about the macports-dev mailing list