This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cron problem




On Tue, 5 Mar 2002, Corinna Vinschen wrote:

> On Thu, Feb 28, 2002 at 10:49:51AM -0500, Michael Adler wrote:
> > What I think should really happen is that cron should create those
> > directories during installation so they are owned by whoever installed
> > cygwin.
>
> Would you mind to help out and create an install script for
> /etc/postinstall?


I thought you could just inlude empty directories when you make the tar
ball.

This worked for me too.
############################

#!/bin/bash

if [ -d /var/cron/tabs ] ; then
        echo "/var/cron/tabs already exists"
else
        echo "creating /var/cron/tabs"
        mkdir -p /var/cron/tabs
fi




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]