aboutsummaryrefslogtreecommitdiff
path: root/system/brasero/doinst.sh
diff options
context:
space:
mode:
authorLuis Henrique <lmello.009@gmail.com>2010-06-29 18:46:14 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-29 18:46:14 -0500
commit96180dc03effedcad990fcf42b7e57c78d3caeb3 (patch)
tree2dc31e4f76565f5fdcd2fdca86603b80c363bbe5 /system/brasero/doinst.sh
parent577256cb474209091e66f25639f42bc2eebca991 (diff)
system/brasero: Added (gnome cd burning app)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/brasero/doinst.sh')
-rw-r--r--system/brasero/doinst.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/system/brasero/doinst.sh b/system/brasero/doinst.sh
new file mode 100644
index 000000000000..af5eef685b1f
--- /dev/null
+++ b/system/brasero/doinst.sh
@@ -0,0 +1,24 @@
+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 brasero.schemas
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+