From 6c288d0ac21b3c6495ed584c593b56bfcd15efbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 11 May 2015 22:06:03 +0200 Subject: [PATCH] appmenus: hide message about missing /usr/local/share/applications Debian template doesn't have this directory by default. --- qubes-rpc/qubes.GetAppmenus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes-rpc/qubes.GetAppmenus b/qubes-rpc/qubes.GetAppmenus index e26b15b..76a1115 100644 --- a/qubes-rpc/qubes.GetAppmenus +++ b/qubes-rpc/qubes.GetAppmenus @@ -1,2 +1,2 @@ -find /usr/share/applications/ /usr/local/share/applications/ -name '*.desktop' | \ +find /usr/share/applications/ /usr/local/share/applications/ -name '*.desktop' 2>/dev/null | \ xargs awk '/^\[/ { if (tolower($0) != "\[desktop entry\]") nextfile } /^Exec=/ { print FILENAME ":Exec=qubes-desktop-run " FILENAME; next } /=/ {print FILENAME ":" $0 }' 2> /dev/null