#!/bin/sh

if [ -x /usr/bin/update-mime-database ]; then
	update-mime-database /usr/share/mime
fi

if [ -x /usr/bin/update-desktop-database ]; then
	update-desktop-database /usr/share/applications
fi

if [ -x /usr/bin/osso-update-category-database ]; then
	osso-update-category-database /usr/share/mime
fi

if [ -x /usr/bin/gtk-update-icon-cache ]; then
	gtk-update-icon-cache -f /usr/share/icons/hicolor
fi
