Bug#2388: gpm doesn't preserve configuration over upgrades
'Ian Jackson wrote:'
>
>Chris Fearnley writes ("Bug#2388: gpm doesn't preserve configuration over upgrades"):
>...
>> gpm shouldn't redo my configuration /etc/init.d/gpm everytime I
>> reinstall it. In fact, /etc/init.d/gpm should be a conffile. The
>> if [ "$1" != "upgrade" ]; then
>> treatment should be used in the postinst to achieve this, I think.
>
>No, the right way to see if the package needs to be configured is
>(usually) to look at the configuration. I'm not familiar with gpm in
>particular, though ...
The gpm postinst modifies /etc/init.d/gpm to set a variable "TYPE=msc"
the value of TYPE is system dependent. Either gpm should create some
control file /etc/gpm-mouse-type or my suggestion (or something
similar) are necessary.
--
Christopher J. Fearnley | UNIX SIG Leader at PACS
cjf@netaxs.com | (Philadelphia Area Computer Society)
http://www.netaxs.com/~cjf | Design Science Revolutionary
ftp://ftp.netaxs.com/people/cjf | Explorer in Universe
"Dare to be Naive" -- Bucky Fuller | Linux Advocate
Reply to: