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.
oldversion="$2" if [ -x /usr/bin/maemo-select-menu-location -a -z "$oldversion" ]; then maemo-select-menu-location foo.desktop fi
case "$1" in configure) [ -z "$2" ] && \ if [ -x /usr/bin/maemo-select-menu-location ]; then maemo-select-menu-location foo.desktop fi ;; esac