summaryrefslogtreecommitdiff
path: root/system/phoronix-test-suite/doinst.sh
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-01 22:01:59 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-05 06:19:06 +0700
commit30d9448d938bb3a2b134b439219302f9239d04b3 (patch)
treea0b7ef88e8eba6a193c150e126484353e13c0f6b /system/phoronix-test-suite/doinst.sh
parentb2ede928549d5c102d4c746097e140775dc96487 (diff)
downloadslackbuilds-30d9448d938bb3a2b134b439219302f9239d04b3.tar.gz
system/phoronix-test-suite: Added (benchmarking suite)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/phoronix-test-suite/doinst.sh')
-rw-r--r--system/phoronix-test-suite/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/phoronix-test-suite/doinst.sh b/system/phoronix-test-suite/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/system/phoronix-test-suite/doinst.sh
@@ -0,0 +1,13 @@
+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