summaryrefslogtreecommitdiff
path: root/desktop/avant-window-navigator/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 22:05:15 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:38 -0500
commit60ddb9241d4da3a0ada835a78fc621ef39cb6c90 (patch)
tree50b31d8d4c2e58a7b3a385e2b98a322b6e9a29fb /desktop/avant-window-navigator/doinst.sh
parentc99dae128b1f8b99b568bbf3afcc46cb1fa20b1f (diff)
downloadslackbuilds-60ddb9241d4da3a0ada835a78fc621ef39cb6c90.tar.gz
desktop/avant-window-navigator: Fixed (Handle doinst.sh and schemas)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/avant-window-navigator/doinst.sh')
-rw-r--r--desktop/avant-window-navigator/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/desktop/avant-window-navigator/doinst.sh b/desktop/avant-window-navigator/doinst.sh
index 1f8ff67ded..8a4691e67c 100644
--- a/desktop/avant-window-navigator/doinst.sh
+++ b/desktop/avant-window-navigator/doinst.sh
@@ -1,3 +1,11 @@
+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
+}
+
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@@ -8,3 +16,5 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
fi
+schema_install avant-window-navigator.schemas
+schema_install awn-applet-taskmanager.schemas