From 2b91d844b79563ad882f46459f25584cf63a3b46 Mon Sep 17 00:00:00 2001 From: Agustin Carrasco Date: Wed, 24 Mar 2021 21:45:00 -0300 Subject: [PATCH] Remove --user root Seems to not be working as expected according to https://bugs.archlinux.org/task/70134 --- .SRCINFO | 2 +- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 43f791a..57c7460 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = vercel pkgdesc = The command line interface for Vercel pkgver = 21.3.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/vercel/vercel arch = any license = MIT diff --git a/PKGBUILD b/PKGBUILD index e417d03..6cd8fe7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ pkgname=vercel pkgver=21.3.3 -pkgrel=1 +pkgrel=2 pkgdesc="The command line interface for Vercel" arch=(any) url="https://github.com/vercel/vercel" @@ -14,7 +14,7 @@ sha256sums=('e2b0d36af7ca06839075a2a8eda6b15087ae9fa9a76c073bfeaeebe4e1e0c71f') # For more info about this package see: # https://wiki.archlinux.org/index.php/Node.js_package_guidelines package() { - npm install -g --user root --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$pkgname-$pkgver.tgz" + npm install -g --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$pkgname-$pkgver.tgz" # Fix permissions find "$pkgdir"/usr -type d -exec chmod 755 {} +