From 1fcde753f95477204f795f824a1e9d5c8d70e4d5 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Sun, 8 Aug 2021 00:10:46 +0000 Subject: [PATCH] upgpkg: homebridge-{denon,webos}-tv Tell npm to be quiet. --- nodejs-homebridge-denon-tv/PKGBUILD | 4 +++- nodejs-homebridge-webos-tv/PKGBUILD | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nodejs-homebridge-denon-tv/PKGBUILD b/nodejs-homebridge-denon-tv/PKGBUILD index d08d8d8..773b7cf 100644 --- a/nodejs-homebridge-denon-tv/PKGBUILD +++ b/nodejs-homebridge-denon-tv/PKGBUILD @@ -16,7 +16,9 @@ noextract=("$_pkgname-$pkgver.tar.gz") b2sums=('3c504776dea0e245b55ce6f78c56fc9ad40dfb01abf3ababc25c5db4e62226f46f66691c07a5c59b74c7456941813dc386a0fa5b8d660a4894d6ad7d341f7197') package() { - npm install --global --prefix "$pkgdir/usr" "$_pkgname-$pkgver.tar.gz" + local NPM_FLAGS=(--no-audit --no-fund --no-update-notifier) + + npm install --global --prefix "$pkgdir/usr" "$_pkgname-$pkgver.tar.gz" "${NPM_FLAGS[@]}" # Non-deterministic race in npm gives 777 permissions to random directories # See https://github.com/npm/cli/issues/1103 for details diff --git a/nodejs-homebridge-webos-tv/PKGBUILD b/nodejs-homebridge-webos-tv/PKGBUILD index 248c162..34d6777 100644 --- a/nodejs-homebridge-webos-tv/PKGBUILD +++ b/nodejs-homebridge-webos-tv/PKGBUILD @@ -16,7 +16,9 @@ noextract=("$_pkgname-$pkgver.tar.gz") b2sums=('6a208aba330c24a70864f373a7b986d3f38c65ebc46735acebd5c03f363dfe9c13d0e656aac99cb033ece450d96738c83396e6c987c66b6e0d2435fd23165453') package() { - npm install --global --prefix "$pkgdir/usr" "$_pkgname-$pkgver.tar.gz" + local NPM_FLAGS=(--no-audit --no-fund --no-update-notifier) + + npm install --global --prefix "$pkgdir/usr" "$_pkgname-$pkgver.tar.gz" "${NPM_FLAGS[@]}" # Non-deterministic race in npm gives 777 permissions to random directories # See https://github.com/npm/cli/issues/1103 for details