Le Thu, Apr 17, 2014 at 01:50:40PM +0200, Jonas Smedegaard a écrit : > How to reconfigure one package from another? > > I want to reconfigure packages from other packages. > > Example: > > * package foo-player > + supports both JackD and PulseAudio, but only one > + asks which method to use via debconf > * package bar-studio-desktop > + depends on xfce4, jackd2 and foo-player > + conflicts against bar-office-desktop > + postinst script asks foo-player to use JackD > * package bar-office-desktop > + depends on xfce4, pulseaudio and foo-player > + conflicts against bar-studio-desktop > + postinst script asks foo-player to use PulseAudio. > > How could such postinst scripts look?
Hi Jonas, If the maintainer scripts of the three packages can cooperate, have you considered using Dpkg triggers ? Have a nice day -- Charles Plessy Tsurumi, Kanagawa, Japan -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140417121741.gm21...@falafel.plessy.net