From 44be34bab5f76b132f50bd03ff9ff5f84cc3a831 Mon Sep 17 00:00:00 2001 From: grepwood Date: Sat, 25 Apr 2020 17:32:29 +0200 Subject: [PATCH] grep can return non-zero if it finds nothing --- media-gfx/mspaint/files/mspaint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/mspaint/files/mspaint b/media-gfx/mspaint/files/mspaint index 3679268..ef0cef2 100644 --- a/media-gfx/mspaint/files/mspaint +++ b/media-gfx/mspaint/files/mspaint @@ -1,5 +1,5 @@ #!/usr/bin/env bash -set -euo pipefail +set -uo pipefail MFC42_FOUND=$(winetricks list-installed | grep -cE '^mfc42$|^vcrun6$') if [ ${MFC42_FOUND} -eq 0 ]; then winetricks mfc42