summaryrefslogtreecommitdiff
path: root/multimedia/gnash/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gnash/doinst.sh')
-rw-r--r--multimedia/gnash/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/multimedia/gnash/doinst.sh b/multimedia/gnash/doinst.sh
index 80505ba966..f33553f39b 100644
--- a/multimedia/gnash/doinst.sh
+++ b/multimedia/gnash/doinst.sh
@@ -11,9 +11,18 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
+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
+}
+
config etc/gnashpluginrc.new
config etc/gnashthumbnailrc.new
config etc/gnashrc.new
+schema_install gnash.schemas
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1