summaryrefslogtreecommitdiffstats
path: root/gucharmap/post-install
blob: 20b9da7e0a1f32cc1cb6c4249f5b81de1c30d67e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

port=gucharmap

# gconf schemas
SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"

for SCHEMA in $SCHEMAS
do
	export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
	/usr/bin/gconftool-2 --makefile-install-rule /$SCHEMA > /dev/null
done

# scrolls
SCROLLS="`pkginfo -l $port | grep usr/share/omf/.*\.omf$`"

for SCROLL in $SCROLLS
do
	scrollkeeper-install -q -p /var/lib/scrollkeeper /$SCROLL > /dev/null
done

# End of file