#!/bin/sh echo -e "Postinstalling actions..." if [ "$1" != "upgrade" ] then # End automatically added section echo -e "Selecting menu location" maemo-select-menu-location whitestork.desktop if [ -f /usr/share/applications/uri-action-defaults.list ] then if [ -z `grep 'mdict=hildon-whitestork.desktop' /usr/share/applications/uri-action-defaults.list` ] then echo -e "Adding mdict URI action - uri-action-defaults.list" echo -en "\nmdict=hildon-whitestork.desktop\n" >> /usr/share/applications/uri-action-defaults.list fi if [ -z `grep 'mdict=hildon-whitestork.desktop' /usr/share/applications/schemeinfo.cache` ] then echo -e "Adding mdict URI action - schemeinfo.cache" echo -en "\nmdict=hildon-whitestork.desktop\n" >> /usr/share/applications/schemeinfo.cache fi fi fi