diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2015-05-24 23:30:38 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-31 10:36:12 +0700 |
commit | aced7c997ce4c9e883b5ff58921d3c3edfe4040a (patch) | |
tree | 1cd88ded75519aeaca2d433c7d3eddd62fdff07c /system/disk-manager/doinst.sh | |
parent | 731c69b44328652ffbb6b982337f38f6c1e40356 (diff) | |
download | slackbuilds-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.sh | 13 |
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 |