From 67a444ad2bdf141f3b3d17f0ad1424bb372f1be6 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 25 Mar 2021 23:07:38 +1100 Subject: [PATCH] Do no download snap if binary exists --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c615a98e5d06..1a11e0cda50b 100644 --- a/composer.json +++ b/composer.json @@ -106,7 +106,7 @@ }, "scripts": { "post-install-cmd": [ - "vendor/bin/snappdf download" + "if [ '${IS_DOCKER:-false}' != 'true' ]; then vendor/bin/snappdf download; fi" ], "post-update-cmd": [ "vendor/bin/snappdf download"