[gobolinux-users] Re: Listener 1.1
Lucas Correia Villa Real
lucasvr at gobolinux.org
Tue Aug 16 00:00:29 GMT 2005
On Monday 15 August 2005 20:20, Hisham Muhammad wrote:
> 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.
Really good reminder. I've just added this to the script launched by Listener.
powered by /dev/dsp
More information about the gobolinux-users