equal
deleted
inserted
replaced
446 { |
446 { |
447 // Reset against install repository if only the install file exists |
447 // Reset against install repository if only the install file exists |
448 TServerResources::iObserver->LoadRepositoryLC(uid, ETrue, defaultRepository, CIniFileIn::EInstallOnly); |
448 TServerResources::iObserver->LoadRepositoryLC(uid, ETrue, defaultRepository, CIniFileIn::EInstallOnly); |
449 } |
449 } |
450 else |
450 else |
451 { |
451 { |
|
452 // The repository must exist in the ROM or install directory (or both). |
|
453 ASSERT(romExists || installExists); |
452 // Reset against empty repository if neither ROM or install file are found |
454 // Reset against empty repository if neither ROM or install file are found |
453 defaultRepository = CSharedRepository::NewL(uid); |
455 defaultRepository = CSharedRepository::NewL(uid); |
454 CleanupStack::PushL(defaultRepository); |
456 CleanupStack::PushL(defaultRepository); |
455 } |
457 } |
456 |
458 |