[Pkg-roundcube-maintainers] Bug#923142: Debconf option roundcube/language has no effect

Guilhem Moulin guilhem at debian.org
Wed Jun 5 21:16:32 BST 2019


Control: tag -1 pending

Hi there,

On Sun, 24 Feb 2019 at 15:07:54 +0300, Oleg Strikov wrote:
> I expected to see $config['language'] = 'ru_RU' in the configuration
> file after setting debconf option roundcube/language accordingly,
> but that's not what happened:

There were two problems:
 
  1. Unlike $config['default_host'] (for ‘roundcube/hosts’), there is no
     mention of $config['language'] in config.inc.php.sample, only in
     defaults.inc.php, as you mentioned.

  2. The ‘config’ maintainer script is run when the package is
     pre-configured, so file existence checks in
     /usr/share/roundcube/program/localization fail hence invalidate the
     debconf setting.  The workaround is to skip that part at
     pre-configure stage, and only run at postinst and reconfigure
     stage.

Cheers,
-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-roundcube-maintainers/attachments/20190605/1fef41e0/attachment.sig>


More information about the Pkg-roundcube-maintainers mailing list