From: Chocobozzz Date: Tue, 22 May 2018 14:43:58 +0000 (+0200) Subject: Fix client postinstall on release X-Git-Tag: v1.0.0-beta.6~6 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=e2f1dad83607aa610ee33b234a81b07664f4304c;p=github%2FChocobozzz%2FPeerTube.git Fix client postinstall on release --- diff --git a/client/package.json b/client/package.json index 507d2da0e..a353b4dfe 100644 --- a/client/package.json +++ b/client/package.json @@ -17,7 +17,7 @@ "webpack": "webpack", "tslint": "tslint", "ng": "ng", - "postinstall": "npm rebuild node-sass && node angular-cli-patch.js", + "postinstall": "npm rebuild node-sass && test -f angular-cli-patch.js && node angular-cli-patch.js || true", "webpack-bundle-analyzer": "webpack-bundle-analyzer", "webdriver-manager": "webdriver-manager" },