From 2d41d5aa14264e4cb5ddd3ea9aa065999a6233c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 15 Apr 2020 13:14:35 +0200 Subject: acct-cynerd: Change ownership to cynerd home directory --- acct-cynerd/APKBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'acct-cynerd') diff --git a/acct-cynerd/APKBUILD b/acct-cynerd/APKBUILD index 63d0df4..47a6014 100644 --- a/acct-cynerd/APKBUILD +++ b/acct-cynerd/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Karel Kočí # Maintainer: Karel Kočí pkgname=acct-cynerd -pkgver=0.1.2 +pkgver=0.1.3 pkgrel=1 pkgdesc="Personal Cynerd account" url="https://git.cynerd.cz/alpine-personal-pkgs/" @@ -13,8 +13,12 @@ depends="shellrc-zsh" source="authorized_keys" install="$pkgname.pre-install $pkgname.pre-upgrade" +pkgusers="cynerd" +pkggroups="cynerd" + package() { install -D -m 644 "$srcdir"/authorized_keys "$pkgdir"/home/cynerd/.ssh/authorized_keys + chown -R cynerd:cynerd "$pkgdir"/home/cynerd } sha512sums="f0a78ad74a3c29409f9fc297f29ee9375b8d4d9dd9e98f50df32edbb609a48194525cb7a2d7931edec4699292fb8a59cec91c1eb813e19971a5156625b017457 authorized_keys" -- cgit v1.2.3