[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: mock mock.spec,1.5,1.6



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]