[arch-commits] Commit in nodejs-source-map/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Apr 27 10:37:50 UTC 2021


    Date: Tuesday, April 27, 2021 @ 10:37:50
  Author: felixonmars
Revision: 924711

upgpkg: nodejs-source-map 0.7.3-2: remove 'root'

Modified:
  nodejs-source-map/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-27 10:37:39 UTC (rev 924710)
+++ PKGBUILD	2021-04-27 10:37:50 UTC (rev 924711)
@@ -3,7 +3,7 @@
 _npmname=source-map
 pkgname=nodejs-$_npmname
 pkgver=0.7.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Library to generate and consume the source map format"
 arch=('any')
 url="https://github.com/mozilla/source-map"
@@ -16,7 +16,7 @@
 options=("!strip")
 
 package() {
-  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$_npmname-$pkgver.tgz
+  npm install -g --prefix "$pkgdir"/usr "$srcdir"/$_npmname-$pkgver.tgz
 
   # Non-deterministic race in npm gives 777 permissions to random directories.
   # See https://github.com/npm/npm/issues/9359 for details.



More information about the arch-commits mailing list