summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-07-18 01:48:32 (GMT)
committerSung-jae Park <nicesj.park@samsung.com>2013-07-18 01:50:24 (GMT)
commit022b3b3d454f190d501eaac5ecb9ada7f89136c6 (patch)
tree29a8d96eb707b829c110b2e65f0e59081c0a9f83
parent5c379cf93870e75ccbbb6fd5eab6b9e0a7995be0 (diff)
downloaddata-provider-master-022b3b3d454f190d501eaac5ecb9ada7f89136c6.zip
data-provider-master-022b3b3d454f190d501eaac5ecb9ada7f89136c6.tar.gz
data-provider-master-022b3b3d454f190d501eaac5ecb9ada7f89136c6.tar.bz2
Fix the variable name.
Change-Id: I58b619ed9dce36dbfe12c67f1076f1e6edd76a5d
-rw-r--r--packaging/data-provider-master.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/data-provider-master.spec b/packaging/data-provider-master.spec
index 0e4c05b..131cbfb 100644
--- a/packaging/data-provider-master.spec
+++ b/packaging/data-provider-master.spec
@@ -67,9 +67,9 @@ touch %{buildroot}/opt/dbspace/.livebox.db
touch %{buildroot}/opt/dbspace/.livebox.db-journal
#ln -sf %{_sysconfdir}/rc.d/init.d/data-provider-master %{buildroot}/%{_sysconfdir}/rc.d/rc3.d/S99data-provider-master
ln -sf %{_libdir}/systemd/user/data-provider-master.service %{buildroot}/%{_libdir}/systemd/user/tizen-middleware.target.wants/data-provider-master.service
-if [ ! -s ${buildroot}/opt/dbspace/.livebox.db ]; then
+if [ ! -s %{buildroot}/opt/dbspace/.livebox.db ]; then
echo "LiveBox DB file is not exists, initiate it"
-sqlite3 ${buildroot}/opt/dbspace/.livebox.db <<EOF
+sqlite3 %{buildroot}/opt/dbspace/.livebox.db <<EOF
CREATE TABLE box_size ( pkgid TEXT NOT NULL, size_type INTEGER, preview TEXT, touch_effect INTEGER, need_frame INTEGER, FOREIGN KEY(pkgid) REFERENCES pkgmap(pkgid) ON DELETE CASCADE);
CREATE TABLE client (pkgid TEXT PRIMARY KEY NOT NULL, icon TEXT, name TEXT, auto_launch TEXT, pd_size TEXT, content TEXT DEFAULT 'default', nodisplay INTEGER, setup TEXT, mouse_event INTEGER, FOREIGN KEY(pkgid) REFERENCES pkgmap(pkgid) ON DELETE CASCADE);
CREATE TABLE groupinfo ( id INTEGER PRIMARY KEY AUTOINCREMENT, cluster TEXT NOT NULL, category TEXT NOT NULL, pkgid TEXT NOT NULL, FOREIGN KEY(pkgid) REFERENCES pkgmap(pkgid) ON DELETE CASCADE);