mock mock.spec,1.5,1.6

seth vidal skvidal at phy.duke.edu
Sun Jun 5 14:14:31 UTC 2005


On Sun, 2005-06-05 at 11:27 +0300, Ville Skyttä wrote:
> On Sun, 2005-06-05 at 04:00 -0400, Seth Vidal wrote:
> 
> >  %postun
> > -groupdel mock >/dev/null 2>&1 || :
> > +if [ $1 == 0 ]; then
> > +   groupdel mock >/dev/null 2>&1 || :
> > +fi
> 
> groupdel and userdel are always bad ideas in packages.  Just remove the
> %postun scriptlet altogether.

so it's okay to just leave a created group/user? That seems ugly and
messy to me. We're always saying packages should clean up all of their
directories - why not have them clean up all of their groups, too.

-sv





More information about the fedora-extras-commits mailing list