Jakub Bogusz wrote: > > On Sun, Nov 28, 2004 at 05:51:31AM +0100, Andrzej Krzysztofowicz wrote: > > twittner wrote: > > > > > > Author: twittner Date: Sat Nov 27 17:32:36 2004 GMT > > > Module: SPECS Tag: HEAD > > > ---- Log message: > > > - %preun & %postun should never fail (said saq ?) - added || : > > > > %post and %preun should never fail. > > I haven't tested it, but doesn't %preun fault prevent > upgrade/uninstallation? If so, it could be useful sometimes.
I assume that need of uninstalable packages is rather rare. Maybe postgresql update would be the only case I know. > > In postun it is no problem. > > So why do you want to hide errors here ? > > > > > +%postun libs > > > +/sbin/ldconfig || : > > > > And this way you cause dependency is not autogwnerated ? > > It is, but it's /bin/sh not /sbin/ldconfig dependency then ;) exactly -- ======================================================================= Andrzej M. Krzysztofowicz [EMAIL PROTECTED] phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Gdansk University of Technology _______________________________________________ pld-devel-en mailing list [EMAIL PROTECTED] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
