Re: Running a command if any files are copied.

Michael Ellis <[email protected]> Fri, 16 Sep 2005 11:22:46 -0500
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Thanks, Bram, the script works correctly now for one file.  (I had to
change :cp to :copy).

As for udevstart, it should  run _one time only _ if one or more
changed files are installed.  The situation is almost analogous to
compile and link, where the linker runs only if any files are
compiled.

This seems to me a fairly common need, e.g. to install changed
configuration files for a daemon and conditionally restart the daemon.

Thanks,
Mike

On 9/16/05, Bram Moolenaar <[email protected]> wrote:

> If there are more .rules files, would udevstart need to be run once or
> for each file?


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php