summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-07-08 13:47:42 +0200
committerRonan Le Martret <ronan@fridu.net>2014-07-08 13:47:42 +0200
commitc3cc4cfe5aedaa35bf10107c473da4e0bc476f50 (patch)
tree9357efe121224612c48b252eb1a4296c5c61a33a
parent20690e60b54dbdf5e4455a26ec6269c56a164bdf (diff)
downloadprivacy-manager-accepted/tizen_3.0.m14.3_ivi.tar.gz
privacy-manager-accepted/tizen_3.0.m14.3_ivi.tar.bz2
privacy-manager-accepted/tizen_3.0.m14.3_ivi.zip
Change-Id: Ie0c2776ed04b51f3afec766a609a6e86a56a62f1 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
-rwxr-xr-xres/usr/bin/privacy_manager_create_clean_db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/usr/bin/privacy_manager_create_clean_db.sh b/res/usr/bin/privacy_manager_create_clean_db.sh
index 5f47112..c457a14 100755
--- a/res/usr/bin/privacy_manager_create_clean_db.sh
+++ b/res/usr/bin/privacy_manager_create_clean_db.sh
@@ -20,7 +20,7 @@ do
rm -f ${TZ_SYS_DB}/.$name.db-journal
SQL="PRAGMA journal_mode = PERSIST;"
sqlite3 ${TZ_SYS_DB}/.$name.db "$SQL"
- SQL=".read /usr/bin/"$name"_db.sql"
+ SQL=".read ${TZ_SYS_BIN}/"$name"_db.sql"
sqlite3 ${TZ_SYS_DB}/.$name.db "$SQL"
touch ${TZ_SYS_DB}/.$name.db-journal
chown root:root ${TZ_SYS_DB}/.$name.db