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

Bug#901129: timidity: removes conffile belonging to timidity-daemon



On Sat, Jun 09, 2018 at 02:32:54PM +0200, Michael Biebl wrote:
> No, that's not what $PACKAGE in dpkg-maintscript-helper is used for.
> You can't "mark" a conffile as belonging to another package this way.

Maybe I misundertood something how it works internally.
But it has the effect that I desired, i.e. preserving changes after
the conffile is moved to the other package.

Without the last column:

$ dpkg -i timidity_2.13.2-41+b1_amd64.deb timidity-daemon_2.13.2-41_all.deb
...
$ echo "# some change" >> /etc/default/timidity
$ dpkg -i timidity_2.14.0-2+test1_amd64.deb timidity-daemon_2.14.0-2+test1_all.deb
...
$ grep change /etc/default/timidity
$

With the last column:

$ dpkg -i timidity_2.13.2-41+b1_amd64.deb timidity-daemon_2.13.2-41_all.deb
...
$ echo "# some change" >> /etc/default/timidity
$ dpkg -i timidity_2.14.0-2+test1_amd64.deb timidity-daemon_2.14.0-2+test1_all.deb
...
$ grep change /etc/default/timidity 
# some change
$

Attachment: signature.asc
Description: PGP signature


Reply to: