quotes autour de l'URL et utilisation de %COMSPEC% pour les commandes DOS

tags/0.2
Daniel Berteaud 13 years ago
parent 953d5bce7c
commit e76892436a
  1. 8
      packages/thunderbird-config.xml
  2. 2
      root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/thunderbird/thunderbird.cfg/10All

@ -11,12 +11,12 @@
<variable architecture='x86' name='PROG' value='%PROGRAMFILES%\Mozilla Thunderbird' /> <variable architecture='x86' name='PROG' value='%PROGRAMFILES%\Mozilla Thunderbird' />
<variable architecture='x64' name='PROG' value='%PROGRAMFILES(x86)%\Mozilla Thunderbird' /> <variable architecture='x64' name='PROG' value='%PROGRAMFILES(x86)%\Mozilla Thunderbird' />
<install cmd='copy /Y "%SOFTWARE%\thunderbird\autoconf.js" "%PROG%\defaults\pref\"' /> <install cmd='%COMSPEC% /C copy /Y "%SOFTWARE%\thunderbird\autoconf.js" "%PROG%\defaults\pref\"' />
<install cmd='copy /Y "%SETTINGS%\thunderbird\thunderbird.cfg" "%PROG%\"' /> <install cmd='%COMSPEC% /C copy /Y "%SETTINGS%\thunderbird\thunderbird.cfg" "%PROG%\"' />
<upgrade include="install" /> <upgrade include="install" />
<remove cmd='del /F "%PROG%\defaults\pref\autoconf.js"' /> <remove cmd='%COMSPEC% /C del /F "%PROG%\defaults\pref\autoconf.js"' />
<remove cmd='del /F "%PROG%\thunderbird.cfg"' /> <remove cmd='%COMSPEC% /C del /F "%PROG%\thunderbird.cfg"' />
</package> </package>
</packages> </packages>

@ -8,6 +8,6 @@ var mail = env_user + '@{$DomainName}';
lockPref("mail.identity.useremail", mail); lockPref("mail.identity.useremail", mail);
lockPref("autoadmin.append_emailaddr", true); lockPref("autoadmin.append_emailaddr", true);
lockPref("autoadmin.global_config_url", "http://{$SystemName.$DomainName}/thunderbird.cfg"); lockPref("autoadmin.global_config_url", "http://{"$SystemName.$DomainName"}/thunderbird.cfg");
lockPref("autoadmin.failover_to_cached", true); lockPref("autoadmin.failover_to_cached", true);
lockPref("autoadmin.offline_failover", true); lockPref("autoadmin.offline_failover", true);

Loading…
Cancel
Save