#!/bin/sh
## ----------------------------------------------------------------------
## debian/postinst : postinstallation script for nicotine
## ----------------------------------------------------------------------

## ----------------------------------------------------------------------
set -e

chmod +x /usr/bin/nicotine

oldversion="$2"
if [ -z "$oldversion" ]; then
  maemo-select-menu-location nicotine.desktop
  gtk-update-icon-cache -f /usr/share/icons/hicolor
fi

exit 0
