summaryrefslogtreecommitdiff
path: root/misc/chemical-mime-data/doinst.sh
blob: ba65467f24c8a96677b5aebcee1c9f658f1c34aa (plain)
1
2
3
4
5
6
7
8
9
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