Added '%pre'

SVN revision: 219
This commit is contained in:
2002-08-13 10:14:49 +00:00
parent 6a8ebc81e6
commit 337dd0929a
+2
View File
@@ -56,6 +56,8 @@ each weblog can be totally different from the rest.
%prep
%setup -q
%pre
%{_sbindir}/groupadd -r -g %{elog_gid} elog 2>/dev/null || :
%{_sbindir}/useradd -d /no/such/path -s /bin/false -u %{elog_uid} \
-g elog -M -r elog 2>/dev/null || :