Co-authored-by: 최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com>
// remove duplicated pkg in the list.
// If one package has multiple apps, there can be duplicate values.
// remove duplicated pkg in the list.
// If one package has multiple apps, there can be duplicate values.
+ std::sort(pkgList.begin(), pkgList.end());
pkgList.erase(unique(pkgList.begin(), pkgList.end()), pkgList.end());
for (auto pkg : pkgList) {
pkgList.erase(unique(pkgList.begin(), pkgList.end()), pkgList.end());
for (auto pkg : pkgList) {