Récupération de la config en https par défaut

tags/0.3
Daniel Berteaud 12 years ago
parent d27ce0d20a
commit 1602b18276
  1. 2
      packages/thunderbird-config.xml
  2. 6
      root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/thunderbird/thunderbird.cfg/10All

@ -8,7 +8,7 @@
<depends package-id="thunderbird" />
<variable name='PKG_VERSION' value='4' />
<variable name='PKG_VERSION' value='5' />
<variable architecture='x86' name='PROG' value='%PROGRAMFILES%\Mozilla Thunderbird' />
<variable architecture='x64' name='PROG' value='%PROGRAMFILES(x86)%\Mozilla Thunderbird' />
<variable architecture='x86' name='REG_PATH' value='HKLM\Software\Mozilla\Thunderbird' />

@ -1,5 +1,9 @@
// Autoconf
{
$proto = ((${'mozilla-mcd'}{'RequireSSL'} || 'yes') =~ m/^enabled|yes|on|1$/) ? 'https':'http';
}
if(getenv("USER") != "") \{
var user = getenv("USER");
\} else \{
@ -10,6 +14,6 @@ var mail = env_user + '@{$DomainName}';
lockPref("mail.identity.useremail", mail);
lockPref("autoadmin.append_emailaddr", true);
lockPref("autoadmin.global_config_url", "http://{"$SystemName.$DomainName"}/thunderbird.cfg");
lockPref("autoadmin.global_config_url", "{"$proto"}://{"$SystemName.$DomainName"}/thunderbird.cfg");
lockPref("autoadmin.failover_to_cached", true);
lockPref("autoadmin.offline_failover", true);

Loading…
Cancel
Save