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

debconf problem



Hello,
I've some problems with my package lurker. You can find the source of my
actuall packaging version at http://people.freesources.org/~jonas/lurker/

My problems:
The database format from lurker 0.6 to lurker 0.7 changed, but upstream
provides a convert-script. I want to inform people if they upgrade from
0.6 to 0.7 (there is also an older entry for upgrades from 0.1* to 0.6).
I have in debian/lurker.config:
[...]
while [ "$STATE" != 0 -a "$STATE" != 4 ]; do
  case "$STATE" in
  [...]
    3)
       case "$1" in
         configure)
           if dpkg --compare-versions "$3" "<=" 0.1g
           then
             db_input high lurker/upgrade01_info || true
           elif dpkg --compare-versions "$3" ">=" 0.5
           then
             db_input high lurker/upgrade06_info || true
           fi
         ;;
     esac
  ;;
esac


but it doesn't show the upgrade message if I upgrade from 0.6 to 0.7.
does someone have an idea?

bye
 mejo

-- 
Efficiency and progess is ours one more
Now that we have the Neutron bomb
It's nice and quick and clean and gets things done
Kill kill kill kill kill the poor tonight



Reply to: