vm/appmenus: include subdirs with .desktop files
This commit is contained in:
parent
38fc566e52
commit
5e08cbc3de
@ -1,2 +1 @@
|
|||||||
shopt -s nullglob
|
find /usr/share/applications/ /usr/local/share/applications/ -name '*.desktop' | xargs awk '/^\[/ { if (tolower($0) != "\[desktop entry\]") nextfile } /=/ {print FILENAME ":" $0 }' 2> /dev/null
|
||||||
awk '/^\[/ { if (tolower($0) != "\[desktop entry\]") nextfile } /=/ {print FILENAME ":" $0 }' /usr/share/applications/*.desktop /usr/local/share/applications/*.desktop 2> /dev/null
|
|
||||||
|
Loading…
Reference in New Issue
Block a user