On 06.03.2013 20:44, Michael Biebl wrote: > I'd say, we're almost there > > On 06.03.2013 18:45, Laszlo Boszormenyi (GCS) wrote: >> On Wed, 2013-03-06 at 13:17 +0100, Michael Biebl wrote: >> >>> 2/ you need to remove the existing conffile symlinks in >>> syslog-ng-core.preinst so dpkg converts it to non-conffiles on upgrades >> Remove those in preinst. > > I would add a version check here, so this is not run on every upgrade again. > > I'm not sure, if you want to use the same fix for the unstable package. > If so, keep in mind that syslog-ng-core in unstable uses real files. For > simplicities sake, I'd use 3.3.6-3 as minimum fixed version, and don't > check wether it's a symlink or not, since 3.3.6-2 has real files. > For 3.3.6-2 you also want to rm /etc/systemd/system/syslog-ng.service
On second thought, it's probably less confusing if you use dpkg --compare-versions "$2" lt 3.3.5-3 for testing and dpkg --compare-versions "$2" lt 3.3.6-3 for unstable as fixed versions This way wheezy uploads via stable-proposed and security will not trigger the removal again. Michael [dropped the unblock bug from CC for now] -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature