From 0e283acc9ac870467e4cc33c30ad305d4297a97b Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 8 Aug 2021 23:08:44 +0200 Subject: [PATCH] Attempt to properly fix debian builds... --- debian/rules | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index e7156862..7aeed0c4 100755 --- a/debian/rules +++ b/debian/rules @@ -15,9 +15,10 @@ TMPDIR = $$(pwd)/debian/yunohost-admin dh $@ override_dh_auto_build: - # Run npm install and build - cd app ; npm --progress false --loglevel warn --color false install - cd app ; npm run build + # Run npm install(=ci) and build + cd app ; PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin npm --progress false ci + cd app ; PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin npm run build + override_dh_clean: dh_clean