From 534f302648798623ec7b13ca6631a99597c3cf1e Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Wed, 12 Sep 2012 13:06:54 -0700 Subject: [PATCH] Use /home for the datadir instead of /opt/home SCIM pulls user home directories from /etc/passwd (through scim_get_home_dir() and the like), which lists /home/app for the app user. This directory is also used to construct the user data directory paths. Make sure the data dir path for user app is consistent by replacing the /opt/home/app datadir path with /home/app. Change-Id: I8ba4984ecc62d7948c7b2ac8111549d4d00447d7 --- ism/src/isf_query_utility.h | 2 +- packaging/isf.changes | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 packaging/isf.changes diff --git a/ism/src/isf_query_utility.h b/ism/src/isf_query_utility.h index ecd64dc..66e38e0 100644 --- a/ism/src/isf_query_utility.h +++ b/ism/src/isf_query_utility.h @@ -32,7 +32,7 @@ using namespace scim; // Declaration of macro. ///////////////////////////////////////////////////////////////////////////// #define MAXLINE 4096 -#define USER_ENGINE_LIST_PATH "/opt/home/app/.scim" +#define USER_ENGINE_LIST_PATH "/home/app/.scim" #ifndef SCIM_SYSCONFDIR #define SCIM_SYSCONFDIR "/usr/etc" diff --git a/packaging/isf.changes b/packaging/isf.changes new file mode 100644 index 0000000..12fea9f --- /dev/null +++ b/packaging/isf.changes @@ -0,0 +1,3 @@ +* Wed Sep 12 2012 Patrick McCarty b965032 +- Use /home for the datadir instead of /opt/home + -- 2.7.4