1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-22 19:19:45 +01:00

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 Robert Helgesson
parent b9fe747915
commit 199cf5634c
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

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")"