From a53a772ac23c84430f3c6652a7f272e867a45f53 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Wed, 16 Mar 2016 15:48:15 +0100 Subject: [PATCH] [fix] Use --unsafe-perm to allow build in pbuilder environment --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 4898e2f0..aa0aad78 100755 --- a/debian/rules +++ b/debian/rules @@ -22,7 +22,7 @@ override_dh_auto_install: # Run npm/bower/gulp # For some unknown reason, the postinstall scripts in package.json cannot be run, and triggers this error : # "npm WARN cannot run in wd yunohost-admin@ bower install && gulp build (wd=/build/path)" - cd src ; npm --progress false --loglevel warn --color false install + cd src ; npm --progress false --loglevel warn --color false --unsafe-perm install cd src ; node_modules/bower/bin/bower install --allow-root cd src ; node_modules/gulp/bin/gulp.js build