projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2229930
)
install: add duplicate case of beginning index
26/153426/1
author
jinh0.choi
<jinh0.choi@samsung.com>
Thu, 28 Sep 2017 10:10:07 +0000
(19:10 +0900)
committer
jinh0.choi
<jinh0.choi@samsung.com>
Thu, 28 Sep 2017 10:10:07 +0000
(19:10 +0900)
Change-Id: Icb8f6d557f9b57b2204e9102ba7434b9fc50c1eb
Signed-off-by: jinh0.choi <jinh0.choi@samsung.com>
tizen/src/util/extra_pkgs_install.c
patch
|
blob
|
history
diff --git
a/tizen/src/util/extra_pkgs_install.c
b/tizen/src/util/extra_pkgs_install.c
index
85dcec3
..
037101a
100644
(file)
--- a/
tizen/src/util/extra_pkgs_install.c
+++ b/
tizen/src/util/extra_pkgs_install.c
@@
-215,8
+215,13
@@
void epi_init(void)
}
char* checkDup = strcasestr(pkg_list, sub_dir_entry->d_name);
if (checkDup != NULL) {
+ if (checkDup == pkg_list) {
+ LOG_INFO("duplicated package : %s\n", sub_dir_entry->d_name);
+ continue;
+ }
checkDup--;
if (*checkDup == ' ') {
+ LOG_INFO("duplicated package: %s\n", sub_dir_entry->d_name);
continue;
}
}