Kouhei Sutou
null+****@clear*****
Fri Jul 13 11:11:13 JST 2018
Kouhei Sutou 2018-07-13 11:11:13 +0900 (Fri, 13 Jul 2018) New Revision: 10ffaba3c7b8916bec06d31c7bf866259e94dc21 https://github.com/milter-manager/milter-manager/commit/10ffaba3c7b8916bec06d31c7bf866259e94dc21 Message: package rpm: use long option for readability Modified files: package/rpm/centos/milter-manager.spec.in Modified: package/rpm/centos/milter-manager.spec.in (+8 -3) =================================================================== --- package/rpm/centos/milter-manager.spec.in 2018-07-06 09:43:47 +0900 (43714eb6) +++ package/rpm/centos/milter-manager.spec.in 2018-07-13 11:11:13 +0900 (19a55823) @@ -277,9 +277,14 @@ if ! /usr/bin/getent group milter-manager &>/dev/null; then %logmsg "Unexpected error adding group \"milter-manager\". Aborting installation." fi if ! /usr/bin/id milter-manager &>/dev/null; then - /usr/sbin/useradd -r -s /sbin/nologin -c 'milter manager' \ - -d %{_localstatedir}/lib/milter-manager --create-home \ - -g milter-manager milter-manager || \ + /usr/sbin/useradd \ + --system \ + --shell /sbin/nologin \ + --comment 'milter manager' \ + --home-dir %{_localstatedir}/lib/milter-manager \ + --create-home \ + --gid milter-manager \ + milter-manager || \ %logmsg "Unexpected error adding user \"milter-manager\". Aborting installation." fi -------------- next part -------------- An HTML attachment was scrubbed... URL: https://lists.osdn.me/mailman/archives/milter-manager-commit/attachments/20180713/013a0e03/attachment.htm