[Release] wrt-installer_0.1.47
[framework/web/wrt-installer.git] / src / jobs / widget_install / task_smack.cpp
index a9c285a..a5624a9 100644 (file)
@@ -47,6 +47,7 @@ TaskSmack::TaskSmack(InstallerContext& context) :
     AddStep(&TaskSmack::SmackFolderLabelingStep);
     AddStep(&TaskSmack::SmackPrivilegeStep);
     AddStep(&TaskSmack::SmackTemporaryStep);
+    AddStep(&TaskSmack::SetEndofInstallation);
 }
 
 void TaskSmack::SmackFolderLabelingStep()
@@ -174,5 +175,11 @@ void TaskSmack::SmackTemporaryStep()
 #endif
 }
 
+void TaskSmack::SetEndofInstallation() 
+{
+    m_context.job->UpdateProgress(
+        InstallerContext::INSTALL_END,
+        "End installation");
+}
 } //namespace WidgetInstall
 } //namespace Jobs