View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#17
Originally Posted by thp View Post
Taking the suggestion from http://maemo.org/community/council/m...issing_out_on/ and your suggestion into account, the "proper" way to do this for both Diablo and Fremantle would be something like the following:

Code:
oldversion="$2"
if [ -x /usr/bin/maemo-select-menu-location -a -z "$oldversion" ]; then
    maemo-select-menu-location foo.desktop
fi
Still, the question while installing is annoying (even when only shown on first-time installs), so I'm happy if that goes away and a better menu structure replaces the current menu.
True, the full thing from my package which I had taken it from was:

Code:
case "$1" in
    configure)
    [ -z "$2" ] && \
    if [ -x /usr/bin/maemo-select-menu-location ]; then
     maemo-select-menu-location foo.desktop
    fi
    ;;
esac
 

The Following User Says Thank You to qwerty12 For This Useful Post: