From f5dd95983298c68b91daf3305c0563b720880eba Mon Sep 17 00:00:00 2001 From: Thibault Gagnaux Date: Mon, 28 Oct 2019 09:06:25 +0100 Subject: [PATCH] Fixes the failing font test --- tests/fonts.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fonts.nix b/tests/fonts.nix index be485270..007c6525 100644 --- a/tests/fonts.nix +++ b/tests/fonts.nix @@ -17,7 +17,7 @@ in echo "checking activation of fonts in /activate" >&2 grep "fontrestore default -n 2>&1" ${config.out}/activate - grep 'ln -fn ".*" /Library/Fonts' ${config.out}/activate + grep 'ln -fn ".*" /Library/Fonts' ${config.out}/activate || grep 'cp -fP ".*" /Library/Fonts' ${config.out}/activate grep 'rm "/Library/Fonts/.*"' ${config.out}/activate ''; }