Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix client postinstall on release

Chocobozzze2f1dad83607
diff --git a/client/package.json b/client/package.json
index 507d2da0e8..a353b4dfed 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"
},