#! /bin/sh # Usage: maemo-list-user-packages # # Lists all packages that the user can manage with the Application # Manager in this format # # nameversionsection-fieldinstalled-size # # where 'section-field' is the value of the "Section:" field for the # package. dpkg-query --showformat '${Package}\t${Version}\t${Section}\t${Installed-Size}\n' -W | grep "`echo -e '.*\t.*\tuser/.*\t.*'`"