nixgl: use -q to silence grep

Co-authored-by: V. <150687949+vigress8@users.noreply.github.com>
This commit is contained in:
Mel Bourgeois 2024-06-26 21:14:08 -05:00 committed by GitHub
parent 79a6027c4b
commit 378f5e3733
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,7 +63,7 @@ in {
# If .desktop files refer to the old package, replace the references
for dsk in "$out/share/applications"/*.desktop ; do
if ! grep "${pkg.out}" "$dsk" > /dev/null; then
if ! grep -q "${pkg.out}" "$dsk"; then
continue
fi
src="$(readlink "$dsk")"