op-panel and libswl-perl

Kilian Krause kilian at debian.org
Mon Jun 19 19:02:02 UTC 2006


Diego,

> Can you run these commands on the postinst/prerm? I need them for 
> integration with freepbx/amp.
>                 update-alternatives --install 
> /etc/op-panel/op_buttons.cfg op-buttons-cfg 
> /etc/op-panel/op_buttons_rapid.cfg 10

well, I do reckon that config files should *NOT* be touched by anything
but ucf. That also excludes them from the update-alternatives IMNSHO.
What you may want to do is add a debconf to both freepbx and op-panel to
ask the user which version he now wants to be the active one.
Alternatively you can make the both packages mutually exclusive by
setting conflicts in the debian/control and then just use the same
config file name for both packages.

Maybe I did miss the beginning of the discussion, why is the example
valid that both freepbx *and* op-panel are both installed and yet need
to share a config file that is different for both packages?

-- 
Best regards,
 Kilian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20060619/c27e2a4e/attachment.pgp


More information about the Pkg-voip-maintainers mailing list