On Thursday 26 August 2010 at 00:28 Eric Bélanger wrote: > > On Wednesday 25 August 2010 at 14:06 Laurent Carlier wrote: > >> > Look at your packages, they are pretty well maintained except they > >> > should be updated in regards to last pacman features (return 1 & > >> > missing package() function) > > > > I'm thinking that I missed the message when the "|| return 1" thing was > > deprecated. Can someone point me to something I can read about the change > > and what I'm supposed to do instead? > > > > (AFAICT there are a lot of PKGBUILDS around that use it - and I'm pretty > > sure it used to be encouraged by the packaging guidelines.) > > Since 3.4.0, makepkg automatically aborts when when one command in the > build or package functions doesn't terminate successfully. Therefore, > the "|| return 1" are no longer necessary and can be removed from > PKGBUILD to tidy them up. You'll probably get more info in the > pacman/makepkg ChangeLog.
Thanks Eric - very helpful and sounds like a useful change. Pete.
