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 _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
