aboutsummaryrefslogtreecommitdiff
path: root/graphics/paraview/doinst.sh
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@iinet.net.au>2016-08-05 14:23:58 +1000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-05 18:10:49 +0100
commitc8eb4401dc43f8cc21932943d7360d1fd30a023d (patch)
tree1f62b1f81a1646972bd98e17793fa8642c661667 /graphics/paraview/doinst.sh
parent6310a43dfe8bf17fb459b767f51882e876661d31 (diff)
graphics/paraview: Updated for version 5.1.2 + new maintainer
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
Diffstat (limited to 'graphics/paraview/doinst.sh')
-rw-r--r--graphics/paraview/doinst.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/paraview/doinst.sh b/graphics/paraview/doinst.sh
new file mode 100644
index 0000000000000..8d28e13a54a6c
--- /dev/null
+++ b/graphics/paraview/doinst.sh
@@ -0,0 +1,21 @@
+
+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
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
+