3 if [ "$1" != "upgrade" ]
5 # End automatically added section
6 echo -e "Selecting menu location"
7 maemo-select-menu-location whitestork.desktop
10 if [ -f /usr/share/applications/uri-action-defaults.list ]
12 if [ -z $(grep mdict=hildon-whitestork.desktop /usr/share/applications/uri-action-defaults.list) ]
14 echo -e "Adding mdict URI action - uri-action-defaults.list"
15 echo -en "mdict=hildon-whitestork.desktop" >> /usr/share/applications/uri-action-defaults.list
17 echo -en "\n\nThere is an entry about WhiteStork in uri-action already ... \n\n"
19 if [ -z `grep 'mdict=hildon-whitestork.desktop' /usr/share/applications/schemeinfo.cache` ]
21 echo -e "Adding mdict URI action - schemeinfo.cache"
22 echo -en "mdict=hildon-whitestork.desktop" >> /usr/share/applications/schemeinfo.cache
24 echo -en "\n\nThere is an entry about WhiteStork in schemeinfo already ... \n\n"