[gobolinux-users] Re: Listener 1.1

Lucas Correia Villa Real lucasvr at gobolinux.org
Mon Aug 15 23:59:06 GMT 2005

On Monday 15 August 2005 19:58, Hisham Muhammad wrote:
> On 8/15/05, Jonatan Liljedahl <lijon at kymatica.com> wrote:
> > On Mon, 15 Aug 2005 19:15:27 -0300
> >
> > Lucas Correia Villa Real <lucasvr at gobolinux.org> wrote:
> > > the package will get installed and the tarball will be moved
> > > to /Files/Packages.
> >
> > Isn't there a problem if the downloader creates a temporary or partly
> > downloaded file there?
> I haven't checked the current implementation of Listener, but there
> shouldn't be a problem. Inotify supports IN_CLOSE, so it should be
> possible to wait until the new file is closed.

Just enforcing Hisham's reply (which is correct), Listener also works based on 
regex's, so that only entries with a given pattern should be treated. This 
way Listener can ignore a file called README.txt from a Foo.tar.bz2 and from 
a Foo--1.0--{i686,ppc,arm}.bz2.

powered by /dev/dsp

More information about the gobolinux-users mailing list