File: postinst

package info (click to toggle)
scim-chinese 0.4.2-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 13,260 kB
  • ctags: 2,407
  • sloc: cpp: 9,772; sh: 9,305; ansic: 8,530; makefile: 602; yacc: 288; sed: 16
file content (19 lines) | stat: -rw-r--r-- 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# postinst script for scim-chinese
# see: dh_installdeb(1)

set -e

if [ "$1" = "configure" ]; then
    HOME=/root GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
    	/usr/bin/gconftool-2 --makefile-install-rule \
	/etc/gconf/schemas/scim-chinese.schemas > /dev/null
fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0