summaryrefslogtreecommitdiffstats
path: root/system/gnome-disk-utility/doinst.sh
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2015-12-12 11:46:45 -0600
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-19 07:25:23 +0700
commit389e11a4d107ec07397487988add95bee234f95f (patch)
tree684e9a02ca318cbcd8b94e5d21af9ea434d0761b /system/gnome-disk-utility/doinst.sh
parent87c3ea0a1d508f53823e3f9e993e67d5987fc400 (diff)
downloadslackbuilds-389e11a4d107ec07397487988add95bee234f95f.tar.gz
slackbuilds-389e11a4d107ec07397487988add95bee234f95f.tar.xz
system/gnome-disk-utility: Added (storage device manipulation tools)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/gnome-disk-utility/doinst.sh')
-rw-r--r--system/gnome-disk-utility/doinst.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/gnome-disk-utility/doinst.sh b/system/gnome-disk-utility/doinst.sh
new file mode 100644
index 0000000000..6fb1283156
--- /dev/null
+++ b/system/gnome-disk-utility/doinst.sh
@@ -0,0 +1,16 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/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
+