aboutsummaryrefslogtreecommitdiff
path: root/office/kile/doinst.sh
blob: 92421f23d2cd5543679404dd60aa722ed8357908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Update the desktop menu database
if [ -x /usr/bin/update-desktop-database ]; then
    /usr/bin/update-desktop-database -q usr/share/applications
fi

# Update icon cache if one exists
if [ -r usr/share/icons/hicolor/icon-theme.cache ]; then
  if [ -x /usr/bin/gtk-update-icon-cache ]; then
    /usr/bin/gtk-update-icon-cache -t -f usr/share/icons/hicolor >/dev/null 2>&1
  fi
fi