PREIN
/bin/sh
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for p in blur clone cube dbus decoration fade ini inotify minimize move place png regex resize rotate scale screenshot switcher video water wobbly zoom fs obs commands wall annotate gconf glib svg gnomecompat core;
do echo /etc/gconf/schemas/compiz-${p}.schemas ; done \
| xargs /usr/bin/gconftool-2 --makefile-uninstall-rule >& /dev/null || :
gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/gwd.schemas >& /dev/null || :
fi
PREUN
/bin/sh
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for p in blur clone cube dbus decoration fade ini inotify minimize move place png regex resize rotate scale screenshot switcher video water wobbly zoom fs obs commands wall annotate gconf glib svg gnomecompat core;
do echo /etc/gconf/schemas/compiz-${p}.schemas ; done \
| xargs /usr/bin/gconftool-2 --makefile-uninstall-rule >& /dev/null || :
gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/gwd.schemas >& /dev/null || :
fi
POSTIN
/bin/sh
update-desktop-database -q /usr/share/applications
export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
for p in blur clone cube dbus decoration fade ini inotify minimize move place png regex resize rotate scale screenshot switcher video water wobbly zoom fs obs commands wall annotate gconf glib svg gnomecompat core;
do echo /etc/gconf/schemas/compiz-${p}.schemas ; done \
| xargs /usr/bin/gconftool-2 --makefile-install-rule >& /dev/null || :
gconftool-2 --makefile-install-rule /etc/gconf/schemas/gwd.schemas >& /dev/null || :