#include <unistd.h>
#include <boost/filesystem.hpp>
+#include <boost/system/error_code.hpp>
#include <pkgmgr_installer.h>
#include <vcore/Certificate.h>
namespace common_installer {
namespace pkgmgr {
+namespace bs = boost::system;
namespace fs = boost::filesystem;
Step::Status StepUnregisterApplication::precheck() {
return Status::ERROR;
}
+ // remove manifest file
+ bs::error_code error;
+ fs::remove(context_->xml_path.get(), error);
+
LOG(DEBUG) << "Successfully unregister the application";
return Status::OK;