2010-05-12 02:30:44 +08:00
|
|
|
if [ -x /usr/bin/update-desktop-database ]; then
|
2010-05-12 23:36:51 +08:00
|
|
|
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
2010-05-12 02:30:44 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -x /usr/bin/update-mime-database ]; then
|
|
|
|
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
|
|
|
|
fi
|
|
|
|
|
2010-05-12 23:36:51 +08:00
|
|
|
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
|
2010-06-29 12:21:52 +08:00
|
|
|
fi
|
|
|
|
|