core-agent-linux/qubes_rpc/qubes.GetAppmenus
Marek Marczykowski 294e3c6369 vm: implement qubes.GetAppmenus to reduce code duplication
As one-liner services are now real one-line, just do it.
2012-07-15 02:26:09 +02:00

3 lines
120 B
Plaintext

shopt -s nullglob
/bin/grep -H = /usr/share/applications/*.desktop /usr/local/share/applications/*.desktop 2> /dev/null