On 09.03.2013 20:27, Laszlo Boszormenyi (GCS) wrote: > On Wed, 2013-03-06 at 22:31 +0100, Michael Biebl wrote: >> I think something like this should do: >> if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt "3.3.5-3"; then >> .. >> fi > Done. > > On Thu, 2013-03-07 at 15:53 +0100, Gergely Nagy wrote: >> I checked just now, and some things were picked from the merge-queue/3.5 >> branch (the default branch on github), namely Type=notify - that is not >> supported by syslog-ng 3.3, and will be new in 3.5. > Updated. > > It builds fine in Wheezy pbuilder and if you do agree, I'll upload > it[1]. looks good to me. If you want to be extra nice, you can also clean up the /etc/systemd/system/syslog.service.dpkg-new and /etc/systemd/system/multi-user.target.wants/syslog-ng.service.dpkg-new symlinks in preinst. Those are created, when the target the symlink was pointing to, has changed, so dpkg thought the "conffile" had changed. Another reason why it wasn't a good idea to mark the symlinks as conffiles... Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Attachment:
signature.asc
Description: OpenPGP digital signature