posttrans argument is always zero
This commit is contained in:
parent
cc569c2c38
commit
30158818a7
@ -3,7 +3,7 @@ Name: dovecot
|
|||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.1.7
|
Version: 2.1.7
|
||||||
#global prever .rc6
|
#global prever .rc6
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
#dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2
|
#dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2
|
||||||
License: MIT and LGPLv2
|
License: MIT and LGPLv2
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -313,7 +313,7 @@ fi
|
|||||||
%posttrans
|
%posttrans
|
||||||
# dovecot should be started again in %postun, but it's not executed on reinstall
|
# dovecot should be started again in %postun, but it's not executed on reinstall
|
||||||
# if it was already started, restart_flag won't be here, so it's ok to test it again
|
# if it was already started, restart_flag won't be here, so it's ok to test it again
|
||||||
if [ "$1" -ge "1" -a -e %restart_flag ]; then
|
if [ -e %restart_flag ]; then
|
||||||
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
|
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
|
||||||
/bin/systemctl start dovecot.service >/dev/null 2>&1 || :
|
/bin/systemctl start dovecot.service >/dev/null 2>&1 || :
|
||||||
%else
|
%else
|
||||||
@ -457,6 +457,9 @@ make check
|
|||||||
%{_libdir}/%{name}/dict/libdriver_pgsql.so
|
%{_libdir}/%{name}/dict/libdriver_pgsql.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 22 2012 Michal Hlavinka <mhlavink@redhat.com> - 1:2.1.7-4
|
||||||
|
- posttrans argument is always zero
|
||||||
|
|
||||||
* Fri Jun 15 2012 Michal Hlavinka <mhlavink@redhat.com> - 1:2.1.7-3
|
* Fri Jun 15 2012 Michal Hlavinka <mhlavink@redhat.com> - 1:2.1.7-3
|
||||||
- do not let dovecot run during upgrade (#134325)
|
- do not let dovecot run during upgrade (#134325)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user