From 5b0d598be9dcc01930e0ea934dc24fa799997599 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Moreau?= <contact@zertimail.net>
Date: Tue, 5 Apr 2016 13:17:02 +0200
Subject: [PATCH] Fix #381 Add unsafe perm for root install

---
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json
index ba9ac4b74..21cb7032a 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,7 @@
     "test": "mocha --growl --timeout 20000 test test/fast test/fast/block test/integration test/",
     "start": "node bin/ucoind start",
     "test-travis": "node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --timeout 20000 test test/fast test/fast/block test/integration test/",
-    "postinstall": "mkdir ui -p && cd ui && npm pack ucoin-ui@0.1.18 && tar xzf ucoin-ui-0.1.18.tgz && cd package && npm install && cd .. && rm ucoin-ui-0.1.18.tgz"
+    "postinstall": "mkdir ui -p && cd ui && npm pack ucoin-ui@0.1.18 && tar xzf ucoin-ui-0.1.18.tgz && cd package && npm install --unsafe perm && cd .. && rm ucoin-ui-0.1.18.tgz"
   },
   "repository": {
     "type": "git",
-- 
GitLab