desktop-utils.exlib: extend categories

This commit is contained in:
Julian Ospald 2018-06-14 00:27:12 +02:00
parent 068d5d76dd
commit 4925c7abf9
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -105,6 +105,12 @@ find_desktop_file_category() {
local subcat= local subcat=
case ${CATEGORY} in case ${CATEGORY} in
app*) maincat="Utility"
case ${CATEGORY##*-} in
editors) subcat="TextEditor";;
*) ;;
esac
;;
dev*) maincat="Development" dev*) maincat="Development"
case ${CATEGORY##*-} in case ${CATEGORY##*-} in
db) subcat="Database";; db) subcat="Database";;