aboutsummaryrefslogtreecommitdiffstats
path: root/main/polkit
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-05-06 10:49:48 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-06 09:21:16 +0000
commit7ec2f7941f023d363980be877caee9f5acc68ee4 (patch)
treef2ff09512b6cc8d83b84772258ee737de08988b4 /main/polkit
parente2b78d8aaecccd0111a10a016573f3f64c3b381a (diff)
downloadaports-7ec2f7941f023d363980be877caee9f5acc68ee4.tar.bz2
aports-7ec2f7941f023d363980be877caee9f5acc68ee4.tar.xz
main/polkit: also create user after upgrade
Diffstat (limited to 'main/polkit')
-rw-r--r--main/polkit/APKBUILD5
l---------main/polkit/polkit.pre-upgrade1
2 files changed, 4 insertions, 2 deletions
diff --git a/main/polkit/APKBUILD b/main/polkit/APKBUILD
index 11c5dea59d..6be03b6f58 100644
--- a/main/polkit/APKBUILD
+++ b/main/polkit/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Carlo Landmeter
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=polkit
pkgver=0.115
-pkgrel=0
+pkgrel=1
pkgdesc="Application development toolkit for controlling system-wide privileges"
url="https://www.freedesktop.org/wiki/Software/polkit/"
arch="all !s390x" # limited by mozjs60
@@ -19,7 +20,7 @@ source="https://www.freedesktop.org/software/polkit/releases/polkit-$pkgver.tar.
mozjs60-2.patch
alpine-pam.patch
"
-install="polkit.pre-install"
+install="polkit.pre-install polkit.pre-upgrade"
pkgusers="polkitd"
pkggroups="polkitd"
diff --git a/main/polkit/polkit.pre-upgrade b/main/polkit/polkit.pre-upgrade
new file mode 120000
index 0000000000..df3972187e
--- /dev/null
+++ b/main/polkit/polkit.pre-upgrade
@@ -0,0 +1 @@
+polkit.pre-install \ No newline at end of file