bug 345149 - Handle Sunbirds that aren't named 'Sunbird'. r=rhelmer

This commit is contained in:
mattwillis%gmail.com 2006-07-19 22:07:02 +00:00
Родитель c8c79b4a63
Коммит 299094a298
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -24,7 +24,7 @@ use Config; # for $Config{sig_name} and $Config{sig_num}
use File::Find ();
use File::Copy;
$::UtilsVersion = '$Revision: 1.329 $ ';
$::UtilsVersion = '$Revision: 1.330 $ ';
package TinderUtils;
@ -1254,6 +1254,7 @@ sub get_profile_dir {
# $ProductName must be set to the codename for the Mac, so check
# $BinaryName and use the correct profile for browser.
$profile_product_name = 'Firefox' if ($Settings::BinaryName =~ /^firefox/);
$profile_product_name = 'Sunbird' if ($Settings::BinaryName =~ /^sunbird/);
my $profile_dir;