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

Jan Steffens heftig at archlinux.org
Sat Dec 16 21:46:40 UTC 2017


    Date: Saturday, December 16, 2017 @ 21:46:39
  Author: heftig
Revision: 312977

Simplify chown/chmod to install

Modified:
  polkit/trunk/PKGBUILD

----------+
 PKGBUILD |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-16 21:33:53 UTC (rev 312976)
+++ PKGBUILD	2017-12-16 21:46:39 UTC (rev 312977)
@@ -46,8 +46,7 @@
   cd $pkgname
   make DESTDIR="$pkgdir" install
 
-  chown root:102 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
-  chmod 750      "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
+  install -d -o root -g 102 -m 750 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
 
   install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" <<END
 u polkitd 102 "PolicyKit daemon"



More information about the arch-commits mailing list