PKGBUILDs/community/compiz-decorator-gtk/compiz-decorator-gtk.install
2009-10-09 21:15:33 -05:00

34 lines
880 B
Text

post_install() {
export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/gwd.schemas > /dev/null
usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/compiz-decorator-gtk.schemas > /dev/null
kill -s HUP `pidof usr/bin/gconfd-2` > /dev/null 2>&1
update-desktop-database -q
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
usr/bin/gconftool-2 --makefile-uninstall-rule usr/share/gconf/schemas/gwd.schemas >/dev/null
usr/bin/gconftool-2 --makefile-uninstall-rule usr/share/gconf/schemas/compiz-decorator-gtk.schemas > /dev/null
}
post_remove() {
kill -s HUP `pidof usr/bin/gconfd-2` > /dev/null 2>&1
update-desktop-database -q
}
op=$1
shift
$op $*