summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyuho Jo <kyuho.jo@samsung.com>2015-08-19 17:48:59 +0900
committerKyuho Jo <kyuho.jo@samsung.com>2015-08-19 17:48:59 +0900
commitc82da819e6c87da608a99b11c12226d1da85f6e2 (patch)
tree719aff6715704eed5b275fcfe1ee8630e2c2f501
parent02c03f3f146649701d2311f9ac0b6231b80f4352 (diff)
downloadshortcut-c82da819e6c87da608a99b11c12226d1da85f6e2.tar.gz
shortcut-c82da819e6c87da608a99b11c12226d1da85f6e2.tar.bz2
shortcut-c82da819e6c87da608a99b11c12226d1da85f6e2.zip
Change-Id: Ib69c50b21cd989809c4921c2979323ce7bd1c249 Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
-rwxr-xr-xlib/src/main.c2
-rwxr-xr-xpackaging/libshortcut.spec10
-rwxr-xr-xpkgmgr_shortcut/src/service_register.c2
-rwxr-xr-xtest_db_builder.sh2
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/src/main.c b/lib/src/main.c
index 16594d9..bb23bf3 100755
--- a/lib/src/main.c
+++ b/lib/src/main.c
@@ -63,7 +63,7 @@ static struct info {
.server_fd = -1,
.client_fd = -1,
.socket_file = "/tmp/.shortcut.service",
- .dbfile = "/opt/dbspace/.shortcut_service.db",
+ .dbfile = "/usr/dbspace/.shortcut_service.db",
.handle = NULL,
.initialized = 0,
.db_opened = 0,
diff --git a/packaging/libshortcut.spec b/packaging/libshortcut.spec
index 539a743..baafc53 100755
--- a/packaging/libshortcut.spec
+++ b/packaging/libshortcut.spec
@@ -53,9 +53,9 @@ make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
-mkdir -p %{buildroot}/opt/dbspace
-touch %{buildroot}/opt/dbspace/.shortcut_service.db
-touch %{buildroot}/opt/dbspace/.shortcut_service.db-journal
+mkdir -p %{buildroot}/usr/dbspace
+touch %{buildroot}/usr/dbspace/.shortcut_service.db
+touch %{buildroot}/usr/dbspace/.shortcut_service.db-journal
%post -n %{name} -p /sbin/ldconfig
%postun -n %{name} -p /sbin/ldconfig
@@ -66,8 +66,8 @@ touch %{buildroot}/opt/dbspace/.shortcut_service.db-journal
%{_libdir}/*.so*
%{_prefix}/etc/package-manager/parserlib/*
%{_datarootdir}/license/*
-%attr(640,root,app) /opt/dbspace/.shortcut_service.db
-%attr(640,root,app) /opt/dbspace/.shortcut_service.db-journal
+%attr(640,root,app) /usr/dbspace/.shortcut_service.db
+%attr(640,root,app) /usr/dbspace/.shortcut_service.db-journal
%files devel
%manifest %{name}.manifest
diff --git a/pkgmgr_shortcut/src/service_register.c b/pkgmgr_shortcut/src/service_register.c
index 5f2ecb9..190e351 100755
--- a/pkgmgr_shortcut/src/service_register.c
+++ b/pkgmgr_shortcut/src/service_register.c
@@ -69,7 +69,7 @@ static struct {
const char *dbfile;
sqlite3 *handle;
} s_info = {
- .dbfile = "/opt/dbspace/.shortcut_service.db",
+ .dbfile = "/usr/dbspace/.shortcut_service.db",
.handle = NULL,
};
diff --git a/test_db_builder.sh b/test_db_builder.sh
index 73deff7..2719bc7 100755
--- a/test_db_builder.sh
+++ b/test_db_builder.sh
@@ -16,7 +16,7 @@
# *
#*/
-DBFILE="/opt/dbspace/.shortcut_service.db"
+DBFILE="/usr/dbspace/.shortcut_service.db"
APPID=(
"org.tizen.facebook"