upgpkg: homebridge-{denon,webos}-tv
Tell npm to be quiet.
This commit is contained in:
parent
057921ddd5
commit
1fcde753f9
2 changed files with 6 additions and 2 deletions
|
@ -16,7 +16,9 @@ noextract=("$_pkgname-$pkgver.tar.gz")
|
||||||
b2sums=('3c504776dea0e245b55ce6f78c56fc9ad40dfb01abf3ababc25c5db4e62226f46f66691c07a5c59b74c7456941813dc386a0fa5b8d660a4894d6ad7d341f7197')
|
b2sums=('3c504776dea0e245b55ce6f78c56fc9ad40dfb01abf3ababc25c5db4e62226f46f66691c07a5c59b74c7456941813dc386a0fa5b8d660a4894d6ad7d341f7197')
|
||||||
|
|
||||||
package() {
|
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
|
# Non-deterministic race in npm gives 777 permissions to random directories
|
||||||
# See https://github.com/npm/cli/issues/1103 for details
|
# See https://github.com/npm/cli/issues/1103 for details
|
||||||
|
|
|
@ -16,7 +16,9 @@ noextract=("$_pkgname-$pkgver.tar.gz")
|
||||||
b2sums=('6a208aba330c24a70864f373a7b986d3f38c65ebc46735acebd5c03f363dfe9c13d0e656aac99cb033ece450d96738c83396e6c987c66b6e0d2435fd23165453')
|
b2sums=('6a208aba330c24a70864f373a7b986d3f38c65ebc46735acebd5c03f363dfe9c13d0e656aac99cb033ece450d96738c83396e6c987c66b6e0d2435fd23165453')
|
||||||
|
|
||||||
package() {
|
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
|
# Non-deterministic race in npm gives 777 permissions to random directories
|
||||||
# See https://github.com/npm/cli/issues/1103 for details
|
# See https://github.com/npm/cli/issues/1103 for details
|
||||||
|
|
Loading…
Reference in a new issue