summaryrefslogtreecommitdiffstats
path: root/unmaintained/gnome-settings-daemon/gnome-settings-daemon.pre-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/gnome-settings-daemon/gnome-settings-daemon.pre-deinstall')
-rw-r--r--unmaintained/gnome-settings-daemon/gnome-settings-daemon.pre-deinstall16
1 files changed, 16 insertions, 0 deletions
diff --git a/unmaintained/gnome-settings-daemon/gnome-settings-daemon.pre-deinstall b/unmaintained/gnome-settings-daemon/gnome-settings-daemon.pre-deinstall
new file mode 100644
index 000000000..19cf86965
--- /dev/null
+++ b/unmaintained/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