2 Jul
2011
2 Jul
'11
14:25
Am Fri, 1 Jul 2011 18:08:45 +0200 (CEST) schrieb Jan Engelhardt <jengelh@medozas.de>:
some packages in the openSUSE distribution do this (or equivalent) in their %post section:
%post getent passwd user >/dev/null || useradd user || :
darix says this is against policy (what a killer argument), but closely looking at what is happening, getent is just what is desired.
Just slap darix with the openSUSE Strategy page http://en.opensuse.org/openSUSE:Strategy#Community_and_People whenever he comes up with useless "policy" arguments :-) -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org