summaryrefslogtreecommitdiffstats
path: root/graphics/discwrapper/doinst.sh
diff options
context:
space:
mode:
author Pablo Santamaria2010-05-13 00:58:16 +0200
committer Robby Workman2010-05-13 00:58:16 +0200
commit5baa4791896f1efee0f209d0fdae5d2af4768076 (patch)
tree3eca774e6bcbe916d858df261a8f929cfe8e707c /graphics/discwrapper/doinst.sh
parentb9764d12902d14fef84781fa422a11ece849d937 (diff)
downloadslackbuilds-5baa4791896f1efee0f209d0fdae5d2af4768076.tar.gz
graphics/discwrapper: Added to 13.0 repository
Diffstat (limited to 'graphics/discwrapper/doinst.sh')
-rw-r--r--graphics/discwrapper/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/graphics/discwrapper/doinst.sh b/graphics/discwrapper/doinst.sh
new file mode 100644
index 0000000000..e4e6459838
--- /dev/null
+++ b/graphics/discwrapper/doinst.sh
@@ -0,0 +1,8 @@
+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
+