summaryrefslogtreecommitdiffstats
path: root/main/gnome-settings-daemon/gnome-settings-daemon.pre-deinstall
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:36:01 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:36:01 -0600
commit12394b7eecedba1ddef418564a7fd49d2aaa697d (patch)
tree96f7614a363981721c5e365b4c373c254f600f0f /main/gnome-settings-daemon/gnome-settings-daemon.pre-deinstall
parent8ed9622e7a4b509097dc32b525d8fe323dff46ee (diff)
downloadaports-12394b7eecedba1ddef418564a7fd49d2aaa697d.tar.bz2
aports-12394b7eecedba1ddef418564a7fd49d2aaa697d.tar.xz
testing/gnome-settings-daemon: promote to main
Diffstat (limited to 'main/gnome-settings-daemon/gnome-settings-daemon.pre-deinstall')
-rw-r--r--main/gnome-settings-daemon/gnome-settings-daemon.pre-deinstall16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/gnome-settings-daemon/gnome-settings-daemon.pre-deinstall b/main/gnome-settings-daemon/gnome-settings-daemon.pre-deinstall
new file mode 100644
index 000000000..19cf86965
--- /dev/null
+++ b/main/gnome-settings-daemon/gnome-settings-daemon.pre-deinstall
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+for i in \
+ apps_gnome_settings_daemon_housekeeping.schemas \
+ apps_gnome_settings_daemon_keybindings.schemas \
+ apps_gnome_settings_daemon_xrandr.schemas \
+ desktop_gnome_font_rendering.schemas \
+ desktop_gnome_keybindings.schemas \
+ desktop_gnome_peripherals_smartcard.schemas \
+ desktop_gnome_peripherals_touchpad.schemas \
+ gnome-settings-daemon.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
+done