diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2010-06-18 17:18:02 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-18 17:18:02 -0500 |
commit | 6f5c3aaee7279b07279389898d02a20f8bfa363a (patch) | |
tree | e33d9e175ece5e6b169c4da14f526e057c175f7d | |
parent | 719c4d876166391a4b4ecec5221dc2ff4b2514f0 (diff) |
doinst.sh: Add schema_install() example for GConf stuff
-rw-r--r-- | doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |