From 77c2d813b669357b2a38241b2ff710ba6633608e Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 4 Feb 2014 22:11:02 +0700 Subject: system/udiskie: Added (Removable disk automounter for udisks). Signed-off-by: Willy Sudiarto Raharjo --- system/udiskie/doinst.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 system/udiskie/doinst.sh (limited to 'system/udiskie/doinst.sh') 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 -- cgit v1.2.3