1*cdf0e10cSrcweir
2*cdf0e10cSrcweirif (which update-desktop-database); then
3*cdf0e10cSrcweir  update-desktop-database -q /usr/share/applications
4*cdf0e10cSrcweirfi
5*cdf0e10cSrcweir
6*cdf0e10cSrcweirif (which update-mime-database); then
7*cdf0e10cSrcweir  update-mime-database /usr/share/mime
8*cdf0e10cSrcweirfi
9