aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-vfs/gnome-vfs.pre-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'main/gnome-vfs/gnome-vfs.pre-deinstall')
-rw-r--r--main/gnome-vfs/gnome-vfs.pre-deinstall9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/gnome-vfs/gnome-vfs.pre-deinstall b/main/gnome-vfs/gnome-vfs.pre-deinstall
index 3cd527cfa3..0e5f3c7874 100644
--- a/main/gnome-vfs/gnome-vfs.pre-deinstall
+++ b/main/gnome-vfs/gnome-vfs.pre-deinstall
@@ -1,7 +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
- echo "Uninstalling GConf2 schema $i."
- GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
- /usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$i > /dev/null
+ 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