--- /dev/null
+#!/bin/sh
+## ----------------------------------------------------------------------
+## debian/postinst : postinstallation script for stockthis
+## ----------------------------------------------------------------------
+
+## ----------------------------------------------------------------------
+set -e
+
+MAEMO_SELECT_MENU=/usr/bin/maemo-select-menu-location
+
+chmod +x /usr/bin/stockthis
+
+oldversion="$2"
+if [ -z "$oldversion" ]; then
+ if [ -f $MAEMO_SELECT_MENU ]
+ then
+ maemo-select-menu-location stockthis.desktop
+ fi
+ gtk-update-icon-cache -f /usr/share/icons/hicolor
+fi
+
+exit 0