r=bsdmedberg
Allow install.rdf to exist in an XPI for installer builds
This commit is contained in:
mkaply%us.ibm.com 2005-12-07 20:46:18 +00:00
parent 57b0b4261b
commit f8c6f64a36

View File

@ -500,7 +500,7 @@ extern "C" void RunInstallOnThread(void *data)
if (finalStatus == nsInstall::SUCCESS)
{
#ifdef MOZ_XUL_APP
if (NS_SUCCEEDED(hZip->Test("install.rdf")))
if (NS_SUCCEEDED(hZip->Test("install.rdf")) && !(nsSoftwareUpdate::GetProgramDirectory()))
{
hZip->Close();
// appears to be an Extension Manager install