upload tizen1.0 source
[profile/ivi/isf.git] / debian / libisf-bin.postinst
1 #!/bin/sh
2
3 if [ ${USER} = "root" ]
4 then
5     /usr/bin/vconftool set -t string db/isf/input_lang "Automatic" -g 6514
6     /usr/bin/vconftool set -t string db/setting/autocapital_allow 0 -g 6514
7     chmod 755 /etc/profile.d/isf.sh
8     chmod 755 /etc/init.d/isf-panel-efl
9     ln -sf /etc/init.d/isf-panel-efl /etc/rc.d/rc3.d/S42isf-panel-efl
10     ln -sf /etc/init.d/isf-panel-efl /etc/rc.d/rc4.d/S81isf-panel-efl
11 else
12     /usr/bin/vconftool set -t string db/isf/input_lang "Automatic"
13     /usr/bin/vconftool set -t string db/setting/autocapital_allow 0
14 fi
15