Clean up %pre.
This commit is contained in:
parent
c9b618f56b
commit
6d20ca4084
@ -267,9 +267,9 @@ find %buildroot -name ".packlist" -exec rm {} \;
|
|||||||
|
|
||||||
%pre
|
%pre
|
||||||
# Create 'cyrus' user on target host
|
# Create 'cyrus' user on target host
|
||||||
getent group saslauth >/dev/null || /usr/sbin/groupadd -g %{gid} -r saslauth
|
getent group saslauth >/dev/null || /usr/sbin/groupadd -g %gid -r saslauth
|
||||||
getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d %{_var}/lib/imap -g %{cyrusgroup} \
|
getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /var/lib/imap -g %cyrusgroup \
|
||||||
-G saslauth -s /sbin/nologin -u %{uid} -r %{cyrususer}
|
-G saslauth -s /sbin/nologin -u %uid -r %cyrususer
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# Create SSL certificates
|
# Create SSL certificates
|
||||||
|
Loading…
Reference in New Issue
Block a user