diff options
author | Kyuho Jo <kyuho.jo@samsung.com> | 2015-08-19 17:48:59 +0900 |
---|---|---|
committer | Kyuho Jo <kyuho.jo@samsung.com> | 2015-08-19 17:48:59 +0900 |
commit | c82da819e6c87da608a99b11c12226d1da85f6e2 (patch) | |
tree | 719aff6715704eed5b275fcfe1ee8630e2c2f501 | |
parent | 02c03f3f146649701d2311f9ac0b6231b80f4352 (diff) | |
download | shortcut-c82da819e6c87da608a99b11c12226d1da85f6e2.tar.gz shortcut-c82da819e6c87da608a99b11c12226d1da85f6e2.tar.bz2 shortcut-c82da819e6c87da608a99b11c12226d1da85f6e2.zip |
Move db file to /usr/dbspacesubmit/tizen/20150820.023425accepted/tizen/wearable/20150820.043725accepted/tizen/tv/20150820.043708accepted/tizen/mobile/20150820.043655
Change-Id: Ib69c50b21cd989809c4921c2979323ce7bd1c249
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
-rwxr-xr-x | lib/src/main.c | 2 | ||||
-rwxr-xr-x | packaging/libshortcut.spec | 10 | ||||
-rwxr-xr-x | pkgmgr_shortcut/src/service_register.c | 2 | ||||
-rwxr-xr-x | test_db_builder.sh | 2 |
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" |