From 6d20ca40847b2f17bf10cc7a53fca0e2211de941 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Wed, 23 Nov 2016 22:14:45 -0600 Subject: [PATCH] Clean up %pre. --- cyrus-imapd.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec index 3c68669..8a530bc 100644 --- a/cyrus-imapd.spec +++ b/cyrus-imapd.spec @@ -267,9 +267,9 @@ find %buildroot -name ".packlist" -exec rm {} \; %pre # Create 'cyrus' user on target host -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} \ - -G saslauth -s /sbin/nologin -u %{uid} -r %{cyrususer} +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 \ + -G saslauth -s /sbin/nologin -u %uid -r %cyrususer %post # Create SSL certificates