#!/bin/sh

if [ -f /etc/osso_software_version ]; then
  oldversion="$2"
  if [ -z "$oldversion" ]; then
    maemo-select-menu-location prefcalc.desktop
  fi
  source /etc/osso-af-init/af-defines.sh
  dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"Updating icon cache"
  gtk-update-icon-cache -f /usr/share/icons/hicolor
fi
