aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgnomekbd/libgnomekbd.pre-deinstall
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:34:34 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:34:34 -0600
commit08876fd691d56b0c7871fdbfd4f816a5243c3716 (patch)
tree5210be00c8d3ca2674a9abc01c8dbdde7787c794 /main/libgnomekbd/libgnomekbd.pre-deinstall
parentce6ca1b164b05999489b14f72df6e3a54cd256b1 (diff)
downloadaports-08876fd691d56b0c7871fdbfd4f816a5243c3716.tar.bz2
aports-08876fd691d56b0c7871fdbfd4f816a5243c3716.tar.xz
testing/libgnomekbd: promote to main
Diffstat (limited to 'main/libgnomekbd/libgnomekbd.pre-deinstall')
-rw-r--r--main/libgnomekbd/libgnomekbd.pre-deinstall7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/libgnomekbd/libgnomekbd.pre-deinstall b/main/libgnomekbd/libgnomekbd.pre-deinstall
new file mode 100644
index 0000000000..4cfd37ac2e
--- /dev/null
+++ b/main/libgnomekbd/libgnomekbd.pre-deinstall
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+for i in desktop_gnome_peripherals_keyboard_xkb.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