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

This commit is contained in:
Marek Marczykowski 2012-08-10 11:06:58 +02:00
parent 2dda902bdd
commit d61c7a4e21

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