Tizen 2.1 base
[platform/core/telephony/tel-plugin-imc.git] / debian / tel-plugin-imc.postinst
1 #!/bin/sh
2
3 #create db
4 mkdir -p /opt/dbspace
5
6 if [ ! -f /opt/dbspace/.mcc_mnc_oper_list.db ]
7 then
8         sqlite3 /opt/dbspace/.mcc_mnc_oper_list.db < /tmp/mcc_mnc_oper_list.sql
9 fi
10
11 rm -f /tmp/mcc_mnc_oper_list.sql
12
13 if [ -f /opt/dbspace/.mcc_mnc_oper_list.db ]
14 then
15         chmod 600 /opt/dbspace/.mcc_mnc_oper_list.db
16 fi
17 if [ -f /opt/dbspace/.mcc_mnc_oper_list.db-journal ]
18 then
19         chmod 644 /opt/dbspace/.mcc_mnc_oper_list.db-journal
20 fi
21
22 vconftool set -t string memory/telephony/productCode "" -i -f