#!/bin/sh 
set -e

if [ `which gtk-update-icon-cache` ]; then
    # Update the cache if we can, if not it's fine.
    gtk-update-icon-cache -qf /usr/share/icons/hicolor || true
    gtk-update-icon-cache -qf /usr/share/icons/gnome || true
fi

if [ `which update-mime-database` ]; then
    update-mime-database /usr/share/mime
fi

# for freedeskoptop compatible env's
if [ `which update-desktop-database` ]; then
    update-desktop-database	
fi
# for KDE
if [ `which kbuildsycoca` ]; then
    kbuildsycoca
fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#


