summaryrefslogtreecommitdiff
path: root/system/gcdemu/doinst.sh
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-10-04 08:19:09 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-10-11 21:20:28 -0500
commitf097f5393482b8fed448964fdcd3931fe8c4d0ac (patch)
tree1ef5e3ad488cb6dfff0309650ee7fd2e15a6745b /system/gcdemu/doinst.sh
parent0f8cc1f14cfc21070218e784a94065c6dbd09122 (diff)
downloadslackbuilds-f097f5393482b8fed448964fdcd3931fe8c4d0ac.tar.gz
system/gcdemu: Added (gtk applet for controlling CDEmu daemon)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/gcdemu/doinst.sh')
-rw-r--r--system/gcdemu/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/gcdemu/doinst.sh b/system/gcdemu/doinst.sh
new file mode 100644
index 0000000000..85ee730b65
--- /dev/null
+++ b/system/gcdemu/doinst.sh
@@ -0,0 +1,13 @@
+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 gcdemu.schemas
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi