m_context(context),
m_pkgId(NULL)
{
- if (!m_context.isUpdateMode) {
- AddStep(&TaskSmack::StepSetInstall);
- AddStep(&TaskSmack::StepSmackFolderLabeling);
- AddStep(&TaskSmack::StepSmackPrivilege);
- } else {
- AddStep(&TaskSmack::StepSmackPrivilege);
- }
+ AddStep(&TaskSmack::StepSetInstall);
+ AddStep(&TaskSmack::StepSmackFolderLabeling);
+ AddStep(&TaskSmack::StepSmackPrivilege);
AddStep(&TaskSmack::StepSetEndofInstallation);
AddAbortStep(&TaskSmack::StepAbortSmack);
freeList(pList);
return false;
}
- if (PC_OPERATION_SUCCESS != add_shared_dir_readers(dataLabel.c_str(), pList)) {
- freeList(pList);
- return false;
- }
if (PC_OPERATION_SUCCESS != app_label_shared_dir(pkgId,
"*",
m_context.locations->getSharedDataDir().c_str())) {