summaryrefslogtreecommitdiff
path: root/system/disk-manager/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-05-24 23:30:38 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-31 10:36:12 +0700
commitaced7c997ce4c9e883b5ff58921d3c3edfe4040a (patch)
tree1cd88ded75519aeaca2d433c7d3eddd62fdff07c /system/disk-manager/doinst.sh
parent731c69b44328652ffbb6b982337f38f6c1e40356 (diff)
downloadslackbuilds-aced7c997ce4c9e883b5ff58921d3c3edfe4040a.tar.gz
system/disk-manager: Added (simple filesystem configurator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/disk-manager/doinst.sh')
-rw-r--r--system/disk-manager/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/disk-manager/doinst.sh b/system/disk-manager/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/system/disk-manager/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