summaryrefslogtreecommitdiff
path: root/acct-cynerd
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-04-15 13:14:35 +0200
committerKarel Kočí <cynerd@email.cz>2020-04-15 13:14:35 +0200
commit2d41d5aa14264e4cb5ddd3ea9aa065999a6233c8 (patch)
tree72e0be2366969cd3b7a0816faef07ea145c7b7bc /acct-cynerd
parent3a8020a3e5aaa7a55d5e791ddc3763a582465723 (diff)
downloadalpine-personal-pkgs-2d41d5aa14264e4cb5ddd3ea9aa065999a6233c8.tar.gz
alpine-personal-pkgs-2d41d5aa14264e4cb5ddd3ea9aa065999a6233c8.tar.bz2
alpine-personal-pkgs-2d41d5aa14264e4cb5ddd3ea9aa065999a6233c8.zip
acct-cynerd: Change ownership to cynerd home directory
Diffstat (limited to 'acct-cynerd')
-rw-r--r--acct-cynerd/APKBUILD6
1 files changed, 5 insertions, 1 deletions
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čí <cynerd@email.cz>
# Maintainer: Karel Kočí <cynerd@email.cz>
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"