diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-02-04 22:11:02 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-02-08 11:10:09 -0600 |
commit | 77c2d813b669357b2a38241b2ff710ba6633608e (patch) | |
tree | 7eccde67b0fd99d4bc50406ad95883a0bb0068c1 /system/udiskie/doinst.sh | |
parent | aa7f05d02b18a53778a58064224cae7311b55434 (diff) |
system/udiskie: Added (Removable disk automounter for udisks).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/udiskie/doinst.sh')
-rw-r--r-- | system/udiskie/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/udiskie/doinst.sh b/system/udiskie/doinst.sh new file mode 100644 index 0000000000000..9424ce43ff572 --- /dev/null +++ b/system/udiskie/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 |