[gobolinux-users] Re: Listener 1.1

Hisham Muhammad hisham.hm at gmail.com
Mon Aug 15 23:20:37 GMT 2005


On 8/15/05, kenneth marken <k-marken at online.no> wrote:
> 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 make sure you get the whole file the first time round :P
> doing this on a dialup is not recommended ;)

Ooh, nice catch. Lucas, it will probably be wise to perform a bzip2 -t
first in the event script and only do any further action if the .bz2
file is complete.

-- Hisham


More information about the gobolinux-users mailing list