summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-gconf
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-gconf')
-rw-r--r--autoscripts/postrm-gconf7
1 files changed, 7 insertions, 0 deletions
diff --git a/autoscripts/postrm-gconf b/autoscripts/postrm-gconf
new file mode 100644
index 00000000..10a47fd7
--- /dev/null
+++ b/autoscripts/postrm-gconf
@@ -0,0 +1,7 @@
+if [ "$1" = purge ]; then
+ SCHEMA_FILES="#SCHEMAS#"
+ for SCHEMA in $SCHEMA_FILES; do
+ rm -f /etc/gconf/schemas/$SCHEMA
+ done
+ rmdir -p --ignore-fail-on-non-empty /etc/gconf/schemas
+fi