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