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:
6a8fecf
)
extra: add condition for package duplication
89/145889/1
author
jinh0.choi
<jinh0.choi@samsung.com>
Thu, 24 Aug 2017 06:49:18 +0000
(15:49 +0900)
committer
jinh0.choi
<jinh0.choi@samsung.com>
Thu, 24 Aug 2017 06:49:18 +0000
(15:49 +0900)
Change-Id: I5cf81dfbced86d06549c5aece3074203f30c81a1
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
7db369a
..
85dcec3
100644
(file)
--- 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++;