diff options
Diffstat (limited to 'main/gnome-vfs/gnome-vfs.pre-deinstall')
-rw-r--r-- | main/gnome-vfs/gnome-vfs.pre-deinstall | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/main/gnome-vfs/gnome-vfs.pre-deinstall b/main/gnome-vfs/gnome-vfs.pre-deinstall new file mode 100644 index 0000000000..0e5f3c7874 --- /dev/null +++ b/main/gnome-vfs/gnome-vfs.pre-deinstall @@ -0,0 +1,10 @@ +#!/bin/sh + +for i in desktop_default_applications.schemas system_http_proxy.schemas desktop_gnome_url_handlers.schemas system_smb.schemas system_dns_sd.schemas; do + SCHEMAS="$SCHEMAS /etc/gconf/schemas/$i" +done + +echo "Uninstalling gnome-vfs GConf2 schemas" + +GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-uninstall-rule $SCHEMAS > /dev/null |