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

Jelle van der Waa jelle at archlinux.org
Sat Feb 6 17:07:13 UTC 2021


    Date: Saturday, February 6, 2021 @ 17:07:13
  Author: jelle
Revision: 846927

Fix files being owned by builduser:builduser

Modified:
  nodejs-emojione/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-06 17:07:01 UTC (rev 846926)
+++ PKGBUILD	2021-02-06 17:07:13 UTC (rev 846927)
@@ -3,7 +3,7 @@
 _npmname=emojione
 pkgname=nodejs-$_npmname
 pkgver=4.5.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A complete set of emojis designed for the web"
 arch=('any')
 url="https://www.emojione.com"
@@ -21,4 +21,8 @@
 
   # Fix permissions
   find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
+
+  # npm gives ownership of ALL FILES to build user
+  # https://bugs.archlinux.org/task/63396
+  chown -R root:root "${pkgdir}"
 }



More information about the arch-commits mailing list