Bug 339213 - Software update fails because XULRunner doesn't ship updater.ini

p=rdmsoft@bugs.rdmsoft.com (Robert Marshall)
first-r=bsmedberg
second-r=darin
This commit is contained in:
gijskruitbosch%gmail.com 2006-06-12 14:08:33 +00:00
parent 9822a836ff
commit 50af57aad6

View File

@ -258,7 +258,7 @@ CopyUpdaterIntoUpdateDir(nsIFile *appDir, nsIFile *updateDir,
if (NS_FAILED(rv))
return PR_FALSE;
rv = file->CopyToNative(updateDir, EmptyCString());
if (NS_FAILED(rv))
if (*leafName != kUpdaterINI && NS_FAILED(rv))
return PR_FALSE;
}