apply FSL(Flora Software License)
[apps/home/call.git] / debian / org.tizen.call.postinst
1 #!/bin/sh
2 if [ ${USER} == "root" ]
3 then
4         # 5000 is inhouse user id
5         # do not use relative path
6         chown -R 5000:5000 /opt/apps/org.tizen.call/data
7         /usr/bin/vconftool set -t int "memory/call/state" "0" -g 6521 -i
8         /usr/bin/vconftool set -t int "db/call/vol_level" "4" -g 6521
9 else
10         /usr/bin/vconftool set -t int "memory/call/state" "0" -i
11 fi
12