View Single Post
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#16
Originally Posted by qwerty12 View Post
You don't, AFAIK. :P

Fremantle does not have categories AFAIK. You can just check to see if maemo-menu-select-location exists:

Code:
if [ -x /usr/bin/maemo-select-menu-location ]; then
   maemo-select-menu-location foo.desktop
fi
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.
 

The Following 4 Users Say Thank You to thp For This Useful Post: