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

Re: debconf reconfiguration from postinst of another package



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


Reply to: