post script: remove obsolete call to chkconfig [release 3.9.1-2mamba;Thu Dec 05 2024]

This commit is contained in:
Silvan Calarco 2024-12-06 09:02:04 +01:00
parent 62d7845285
commit fea603477a

View File

@ -9,7 +9,7 @@
Name: postfix Name: postfix
Version: 3.9.1 Version: 3.9.1
Release: 1mamba Release: 2mamba
Summary: A fast, easy to administer, and secure mail transfer agent Summary: A fast, easy to administer, and secure mail transfer agent
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
@ -163,7 +163,6 @@ if [ $1 -ge 1 ]; then
-s /bin/false nobody 2>/dev/null -s /bin/false nobody 2>/dev/null
/usr/sbin/postmap /etc/postfix/transport /usr/sbin/postmap /etc/postfix/transport
/sbin/chkconfig --add postfix
postalias /etc/aliases postalias /etc/aliases
@ -196,10 +195,6 @@ fi
%systemd_postun_with_restart postfix %systemd_postun_with_restart postfix
: :
%posttrans
find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
:
%pre virtualdomains-mysql %pre virtualdomains-mysql
/usr/sbin/groupadd vmail -g %{vmail_groupid} 2>/dev/null /usr/sbin/groupadd vmail -g %{vmail_groupid} 2>/dev/null
/usr/sbin/useradd -u %{vmail_userid} -c 'Virtual Mailboxes' -d /var/spool/maildirs -g vmail \ /usr/sbin/useradd -u %{vmail_userid} -c 'Virtual Mailboxes' -d /var/spool/maildirs -g vmail \
@ -245,8 +240,7 @@ _EOF
} }
fi fi
:
exit 0
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -321,6 +315,9 @@ exit 0
%attr(0771,vmail,vmail) %dir %{_localstatedir}/spool/deleted-maildirs %attr(0771,vmail,vmail) %dir %{_localstatedir}/spool/deleted-maildirs
%changelog %changelog
* Thu Dec 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9.1-2mamba
- post script: remove obsolete call to chkconfig
* Thu Dec 05 2024 Automatic Build System <autodist@openmamba.org> 3.9.1-1mamba * Thu Dec 05 2024 Automatic Build System <autodist@openmamba.org> 3.9.1-1mamba
- automatic version update by autodist - automatic version update by autodist