separate package for reducing dependency
[platform/core/api/system-settings.git] / tests / scripts / vconf_golden_master.sh
1 #!/bin/bash
2 CURRENT_DIR=$(pwd -P)
3 MY_DIR="$( cd "$(dirname $(readlink -f "$0"))" ; pwd -P )"
4
5 createVconfDb() {
6     $MY_DIR/convert_vconf_script_to_sql.sh
7
8     if [ ! -f vconf.db ]
9     then
10         echo "vconf.db create failed!"
11         exit -1
12     fi
13 }
14
15 if [ ! -f vconf.db ]
16 then
17     createVconfDb
18 fi