blob: 2b89eec6e489cda7fc462166345697c6c695780d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
post_install() {
export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
gconftool-2 --makefile-install-rule usr/share/gconf/schemas/istanbul.schemas >/dev/null
}
pre_upgrade() {
pre_remove
}
post_upgrade() {
post_install
}
pre_remove() {
schemas=$(pacman -Ql istanbul | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }')
export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
}
|