vm: ignore additional actions in *.desktop files (#631)

This commit is contained in:
Marek Marczykowski 2012-08-10 11:06:58 +02:00
parent f33fca9d95
commit 220c84cc61

View File

@ -1,2 +1,2 @@
shopt -s nullglob
/bin/grep -H = /usr/share/applications/*.desktop /usr/local/share/applications/*.desktop 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