[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#847279: debian-edu-artwork: leaves diversion after upgrade from jessie



Followup-For: Bug #847279
Control: found -1 0.901-4

Hi,

the fix does not work since it is wrongly versioned:

    if dpkg --compare-versions "$2" le "0.52-2"; then

That should rather be

    if dpkg --compare-versions "$2" lt-nl "0.901-5~"; then

(assuming you are going to fix this in 0.901-5).

The -nl suffix causes the empty version (upon new installations) to not
compare as less than the targeted version, so that code is not run on
initial install (where it just produces some noise).


Andreas


Reply to: