mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
34 lines
880 B
Text
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 $*
|
|
|