updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / x-unikey / unikey.install
blob25e213bcf4b5919f1997d21683077e5978e91a51
1 post_install()
3         echo Updating gtk-immodules...
4         gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
5         echo '                  [OK]'
6         echo 
7         echo "To use Unikey, these variables must be set in /etc/profile."
8         echo "export LANG=en_US.UTF-8"
9         echo "export GTK_IM_MODULE=\"xim\""
10         echo "export XMODIFIERS=\"@im=unikey\""
13 post_upgrade()
15         echo Updating gtk-immodules...
16         gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
17         echo '                  [OK]'
18         echo 
19         echo "To use Unikey, these variables must be set in /etc/profile."
20         echo "export LANG=en_US.UTF-8"
21         echo "export GTK_IM_MODULE=\"xim\""
22         echo "export XMODIFIERS=\"@im=unikey\""
25 post_remove()
27         echo Updating gtk-immodules...
28         gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
29         echo '                  [OK]'
30         echo 
31         echo "To use Unikey, these variables must be set in /etc/profile."
32         echo "export LANG=en_US.UTF-8"
33         echo "export GTK_IM_MODULE=\"xim\""
34         echo "export XMODIFIERS=\"@im=unikey\""
35         echo "So you should remove these variables from the file."