summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tizen/src/util/extra_pkgs_install.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tizen/src/util/extra_pkgs_install.c b/tizen/src/util/extra_pkgs_install.c
index 7db369ae2f..85dcec3663 100644
--- a/tizen/src/util/extra_pkgs_install.c
+++ b/tizen/src/util/extra_pkgs_install.c
@@ -213,8 +213,12 @@ void epi_init(void)
if (strcmp(EXT_RPM, ext)) {
continue;
}
- if (strcasestr(pkg_list, sub_dir_entry->d_name)) {
- continue;
+ char* checkDup = strcasestr(pkg_list, sub_dir_entry->d_name);
+ if (checkDup != NULL) {
+ checkDup--;
+ if (*checkDup == ' ') {
+ continue;
+ }
}
pkg_count++;