%addusertogroup macro

Paweł Żurowski pzurowski at pld-linux.org
Mon Mar 28 19:42:02 CEST 2005


Dnia 28-03-2005, pon o godzinie 19:19 +0300, Elan Ruusamäe napisał(a):
> is it possible that the macro returns true or false in case the group was 
> added or not.
> 
> this way i could test do i need to restart some service or not, depending was 
> the group membership modified of daemon's UID or not.
> 
> # Usage:
> #   %addusertogroup myuser agroup
> 

macro just substitutes some text by other. if /usr/lib/rpm/user_group.sh
return true or false, you will be able to check this

regards
-pawel

-- 
Pawel Zurowski






More information about the pld-devel-en mailing list