aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/doinst.sh b/doinst.sh
index 1683756..cb44d46 100644
--- a/doinst.sh
+++ b/doinst.sh
@@ -22,6 +22,15 @@ preserve_perms() {
config $NEW
}
+schema_install() {
+ SCHEMA="$1"
+ GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
+ chroot . gconftool-2 --makefile-install-rule \
+ /etc/gconf/schemas/$SCHEMA \
+ 1>/dev/null
+}
+
+schema_install blah.schemas
preserve_perms etc/rc.d/rc.INIT.new
config etc/configfile.new