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

Jan Steffens heftig at archlinux.org
Sun Oct 25 18:39:58 UTC 2015


    Date: Sunday, October 25, 2015 @ 19:39:57
  Author: heftig
Revision: 249755

Fix up perms post_upgrade

Modified:
  polkit/trunk/PKGBUILD
  polkit/trunk/polkit.install

----------------+
 PKGBUILD       |    2 +-
 polkit.install |    5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-25 18:24:01 UTC (rev 249754)
+++ PKGBUILD	2015-10-25 18:39:57 UTC (rev 249755)
@@ -3,7 +3,7 @@
 
 pkgname=polkit
 pkgver=0.113
-pkgrel=3
+pkgrel=4
 pkgdesc="Application development toolkit for controlling system-wide privileges"
 arch=(i686 x86_64)
 license=(LGPL)

Modified: polkit.install
===================================================================
--- polkit.install	2015-10-25 18:24:01 UTC (rev 249754)
+++ polkit.install	2015-10-25 18:39:57 UTC (rev 249755)
@@ -10,4 +10,9 @@
   if (( $(vercmp $2 0.113-2) < 0 )); then
     usermod -aG proc -s /usr/bin/nologin polkitd
   fi
+
+  if (( $(vercmp $2 0.113-4) < 0 )); then
+    chown root:102 /{etc,usr/share}/polkit-1/rules.d
+    chmod 750      /{etc,usr/share}/polkit-1/rules.d
+  fi
 }



More information about the arch-commits mailing list