summaryrefslogtreecommitdiff
path: root/src/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/module.c')
-rw-r--r--src/module.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/module.c b/src/module.c
index 0a2dd41..586cab1 100644
--- a/src/module.c
+++ b/src/module.c
@@ -163,6 +163,13 @@ static int __get_ug_info(const char* name, char** ug_file_path)
LOGD("ug_file(%s) check ok(%d)", ug_file, errno);
goto out_func;
} else {
+ snprintf(ug_file, sizeof(ug_file), "%s/%s/lib/ug/lib%s.so",
+ tzplatform_getenv(TZ_SYS_RW_APP), pkg_name, name);
+ if (file_exist(ug_file)) {
+ LOGD("ug_file(%s) check ok(%d)", ug_file, errno);
+ goto out_func;
+ }
+
LOGD("ug_file(%s) check fail(%d)", ug_file, errno);
}
/* Downloadable CORE APP(TPK) */