On 06.03.2013 21:36, Michael Biebl wrote:
> 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.
>>

..
> On second thought, it's probably less confusing if you use
> dpkg --compare-versions "$2" lt 3.3.5-3 for testing and

I think something like this should do:
if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt "3.3.5-3"; then
..
fi


-- 
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

Reply via email to