summaryrefslogtreecommitdiffstats
path: root/main/gnome-vfs/gnome-vfs.pre-deinstall
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-02-05 11:10:11 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-02-05 11:10:11 +0000
commit76638ad352177cada21e71eec3a56884a5541f91 (patch)
treedb83b5573e660926876c206b90c18b19044630e5 /main/gnome-vfs/gnome-vfs.pre-deinstall
parentdd781746fe2bd62e6cf0468672c8c6310c72d4bd (diff)
downloadaports-76638ad352177cada21e71eec3a56884a5541f91.tar.bz2
aports-76638ad352177cada21e71eec3a56884a5541f91.tar.xz
main/gnome-vfs: speedup gconf
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 3cd527cfa..0e5f3c787 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