Rollback for StepRemoveFiles 15/43915/2
authorTomasz Iwanek <t.iwanek@samsung.com>
Tue, 14 Jul 2015 11:23:21 +0000 (13:23 +0200)
committerPawel Sikorski <p.sikorski@samsung.com>
Wed, 15 Jul 2015 12:57:38 +0000 (05:57 -0700)
commit988fa0191be73c9071222b2f8c57c943d094a88e
treefe981473098acdfcc3bfb9cd3b99fd0f6f7415b6
parent5c3ca6a30edd6e95cc556317dfc5377a253a43d1
Rollback for StepRemoveFiles

Implement rollback operations for StepRemoveFiles.
If any action after file removal fails then the old
content of package should be restored.

Icons removal was moved to another step.

Change-Id: I532ad5d03bbd99ed29db4db565a6a2ea4d96a7d4
src/common/CMakeLists.txt
src/common/step/step_remove_files.cc
src/common/step/step_remove_icons.cc [new file with mode: 0644]
src/common/step/step_remove_icons.h [new file with mode: 0644]
src/tpk/task.cc
src/wgt/wgt_backend.cc