From 27f9bb86fd6b08c611cf4a31ea093431b1e583b4 Mon Sep 17 00:00:00 2001 From: Rashil Gandhi Date: Mon, 3 Jan 2022 12:13:09 +0530 Subject: [PATCH] ffmpeg: Fail silently in post_install --- bucket/ffmpeg-shared.json | 2 +- bucket/ffmpeg.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bucket/ffmpeg-shared.json b/bucket/ffmpeg-shared.json index e5572f0225..627e7cdbf1 100644 --- a/bucket/ffmpeg-shared.json +++ b/bucket/ffmpeg-shared.json @@ -12,7 +12,7 @@ }, "post_install": [ "# Workaround for https://github.com/ScoopInstaller/Main/issues/2611", - "Remove-Item \"$scoopdir\\shims\\ffmpeg.ps1\", \"$scoopdir\\shims\\ffplay.ps1\", \"$scoopdir\\shims\\ffprobe.ps1\"" + "Remove-Item \"$scoopdir\\shims\\ffmpeg.ps1\", \"$scoopdir\\shims\\ffplay.ps1\", \"$scoopdir\\shims\\ffprobe.ps1\" -ErrorAction SilentlyContinue" ], "bin": [ "bin\\ffmpeg.exe", diff --git a/bucket/ffmpeg.json b/bucket/ffmpeg.json index be430c3119..2d37bfa7d0 100644 --- a/bucket/ffmpeg.json +++ b/bucket/ffmpeg.json @@ -12,7 +12,7 @@ }, "post_install": [ "# Workaround for https://github.com/ScoopInstaller/Main/issues/2611", - "Remove-Item \"$scoopdir\\shims\\ffmpeg.ps1\", \"$scoopdir\\shims\\ffplay.ps1\", \"$scoopdir\\shims\\ffprobe.ps1\"" + "Remove-Item \"$scoopdir\\shims\\ffmpeg.ps1\", \"$scoopdir\\shims\\ffplay.ps1\", \"$scoopdir\\shims\\ffprobe.ps1\" -ErrorAction SilentlyContinue" ], "bin": [ "bin\\ffmpeg.exe",