diff -Nru zentyal-antivirus-3.1.1/ChangeLog zentyal-antivirus-3.1.2/ChangeLog --- zentyal-antivirus-3.1.1/ChangeLog 2013-08-05 10:23:11.000000000 +0000 +++ zentyal-antivirus-3.1.2/ChangeLog 2013-09-17 09:16:52.000000000 +0000 @@ -1,3 +1,5 @@ +3.1.2 + + Override daemons when migrating from 3.0 3.1.1 + Added menu icon + Adapt firewall rules to new accept chains diff -Nru zentyal-antivirus-3.1.1/debian/changelog zentyal-antivirus-3.1.2/debian/changelog --- zentyal-antivirus-3.1.1/debian/changelog 2013-08-05 10:23:11.000000000 +0000 +++ zentyal-antivirus-3.1.2/debian/changelog 2013-09-17 09:16:52.000000000 +0000 @@ -1,3 +1,9 @@ +zentyal-antivirus (3.1.2) precise; urgency=low + + * New upstream release + + -- José A. Calvo Tue, 17 Sep 2013 11:16:52 +0200 + zentyal-antivirus (3.1.1) precise; urgency=low * New upstream release diff -Nru zentyal-antivirus-3.1.1/src/EBox/AntiVirus.pm zentyal-antivirus-3.1.2/src/EBox/AntiVirus.pm --- zentyal-antivirus-3.1.1/src/EBox/AntiVirus.pm 2013-08-05 10:23:11.000000000 +0000 +++ zentyal-antivirus-3.1.2/src/EBox/AntiVirus.pm 2013-09-17 09:16:52.000000000 +0000 @@ -412,4 +412,23 @@ }]; } +# Method: initialSetup +# +# Overrides: +# +# EBox::Module::Base::initialSetup +# +sub initialSetup +{ + my ($self, $version) = @_; + + # Execute initial-setup script + $self->SUPER::initialSetup($version); + + # Upgrade from 3.0 + if (defined ($version) and (EBox::Util::Version::compare($version, '3.1') < 0)) { + $self->_overrideDaemons() if $self->configured(); + } +} + 1;