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.

Attachment: signature.asc
Description: PGP signature

Reply via email to