Create group 'printadmin' by default

This commit is contained in:
Andreas Schneider 2017-07-31 12:13:34 +02:00
parent f060e5d58a
commit e4fb31f68b

View File

@ -1049,6 +1049,9 @@ TDB_NO_FSYNC=1 make %{?_smp_mflags} test
%systemd_postun_with_restart smb.service
%systemd_postun_with_restart nmb.service
%pre common
getent group printadmin >/dev/null || groupadd -r printadmin || :
%post common
/sbin/ldconfig
/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf